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

Andrew Morton (akpm@digeo.com)
Wed, 25 Sep 2002 21:37:15 -0700


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/