Messages in this thread | | | Date | Wed, 20 Aug 2008 12:53:53 +0200 | From | Ingo Molnar <> | Subject | Re: PATCH] debug: add notifier chain debugging |
| |
* Andrew Morton <akpm@linux-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
| |