[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080820105352.GB18524@elte.hu>
Date: Wed, 20 Aug 2008 12:53:53 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Arjan van de Ven <arjan@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: PATCH] debug: add notifier chain debugging
* Andrew Morton <akpm@...ux-foundation.org> wrote:
> > +config DEBUG_NOTIFIERS
> > + bool "Debug notifier call chains"
> > + depends on DEBUG_KERNEL
> > + help
> > + Enable this to turn on sanity checking for notifier call chains.
> > + This is most useful for kernel developers to make sure that
> > + modules properly unregister themselves from notifier chains.
> > + This is a relatively cheap check but if you care about maximum
> > + performance, say N.
> > +
>
> If we remove the first two checks then surely we can afford to add the
> remaining check unconditionally and lose the new config option and its
> ifdef.
yeah, that's sensible. Arjan?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists