Re: [patch 4/4] increase traffic on linux-kernel

From: Andrew Morton (akpm@digeo.com)
Date: Wed Sep 25 2002 - 23:37:15 EST


Greg KH wrote:
>
> On Wed, Sep 25, 2002 at 09:09:08PM -0700, Andrew Morton wrote:
> >
> > Infrastructure to detect sleep-inside-spinlock bugs. Really only
> > useful if compiled with CONFIG_PREEMPT=y. It prints out a whiny
> > message and a stack backtrace if someone calls a function which might
> > sleep from within an atomic region.
>
> Why not make this it's own config option, dependent on CONFIG_PREEMPT?
>

With CONFIG_PREEMPT=n, it'll detect might-sleep-inside-interrupt bugs.

Some value there I guess.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:25 EST