Re: [PATCH #2] console lock grabbed too early in printk...

From: Philipp Rumpf (prumpf@uzix.org)
Date: Sat Jul 01 2000 - 22:11:57 EST


On Sat, Jul 01, 2000 at 09:54:36PM -0500, Jeff Garzik wrote:
> I'm not even sure that kmalloc during printk is possible, since
> printk might be called during kernel init, before all the kmem caches
> are created. (have no kernel tree here to check this, alas)

It definitely can be called early, and it should be possible to call it in
OOM situations and out of kmalloc(). Using kmalloc in printk() isn't
acceptable.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:10 EST