Re: [PATCH] report size of printk buffer

From: Andries Brouwer
Date: Thu May 06 2004 - 10:25:34 EST


On Thu, May 06, 2004 at 05:11:26PM +0200, Roman Zippel wrote:

> > If one asks for count bytes, one gets the last count bytes of output,
> > not the first.
>
> That doesn't answer the question, why don't you just clear the data that
> was read?

Think about it.
The buffer is 131072 bytes. We read the final 16384 bytes.
Now what?


[There are other problems as well, but I do not want to start a complicated
conversation for a triviality.]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/