Re: [PATCH] panic.c: export panic_on_oops

David Woodhouse
2009-10-12T12:15:48Z

On Mon, 2009-10-12 at 14:09 +0200, Ingo Molnar wrote:
> Also, would it be possible to just simplify the thing and not do any
> buffering at all? Extra buffering complexity in a console driver is only
> asking for trouble. Or is flash storage write cycles optimization that
> important in this case?

That and the fact that on NAND flash you have to write full pages at a
time -- that's 512 bytes, 2KiB or 4KiB depending on the type of chip. So
we really do want to buffer it where we can.

We don't want to write a 2KiB page for every line of printk output.

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation