lkml.org 
[lkml]   [2009]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 15 Jun 2009 15:29:59 -0700
FromAndrew Morton <>
SubjectRe: [PATCH] LIB: remove unmatched write_lock() in gen_pool_destroy
On Mon, 15 Jun 2009 17:04:15 -0500
Steve Wise <swise@opengridcomputing.com> wrote:

> > this doesn't really qualify for trivial tree, as it introduces a
> > significant code change. Adding some CCs.
> >
> >
>
> Looks ok to me. Its dumb to aquire the lock you're gonna free anyway.
> Maybe some BUG_ON() that sez nobody better be holding this lock?

CONFIG_DEBUG_OBJECTS_FREE could detect the freeing of a held rwlock.
But probably it hasn't been wired up to handle rwlocks.



\
 
 \ /
  Last update: 2009-06-16 00:35    [from the cache]
©2003-2010