Hi James,
James Chapman schrieb:
> I thought seq_printf handled large output (multiple pages)? I am aware
> of the page size limitation of raw proc handlers.
No. It does detect the limitation, discards your output an lets you try again,
when the next invocation of *_show() has enough buffer space.
seq_puts() behaves the same. So you simply do this:
if (seq_puts(m, "text\n"))
goto no_space;
Regards
Ingo Oeser
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html