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

From: Andrew Morton (andrewm@uow.edu.au)
Date: Mon Jul 03 2000 - 22:44:58 EST


Chris Lattner wrote:
>
> To solve this, I see two main strategies that are usable:
> 1. Count printk's that cannot be used due to recursive entries. On the
> next successful printk, indicate that some printk's were lost.
> 2. kmalloc(GFP_ATOMIC) a temporary buffer, and try our damnest to get the
> message through to the user/kernel developer.

3: If a deadlock is detected, just jam the message out somehow and
   then BUG(). That's good enough!

-
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:14 EST