lkml.org 
[lkml]   [2008]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2008-08-20 12:57    [W:0.127 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site