Re: [PATCH] Add a refcount check in dput()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Monday, September 17, 2007 - 1:48 pm

On Mon, 17 Sep 2007 11:21:35 -0700
"Paul Menage" <menage@google.com> wrote:


The one in dget() is known not to trigger - it's been there for a long time.

My problem with new BUG_ON's is that they get added thinking "no way will
this trigger" and lo, they do trigger and lots of people get their testing
disrupted for a whole release.



Long-standing checks like the one in dget() should perhaps be removed now
that we know they don't trigger - move them under some CONFIG_DEBUG_foo
option.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Add a refcount check in dput(), Paul Menage, (Mon Sep 10, 3:13 pm)
Re: [PATCH] Add a refcount check in dput(), Andrew Morton, (Sat Sep 15, 1:39 am)
Re: [PATCH] Add a refcount check in dput(), Paul Menage, (Mon Sep 17, 11:21 am)
Re: [PATCH] Add a refcount check in dput(), Andrew Morton, (Mon Sep 17, 1:48 pm)