[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0704280607330.9554@blonde.wat.veritas.com>
Date: Sat, 28 Apr 2007 06:13:39 +0100 (BST)
From: Hugh Dickins <hugh@...itas.com>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: Matt Mackall <mpm@...enic.com>, Alexey Dobriyan <adobriyan@...ru>,
linux-kernel@...r.kernel.org, Nick Piggin <nickpiggin@...oo.com.au>
Subject: Re: - maps2-add-proc-pid-pagemap-interface-fix.patch removed from
-mm tree
On Fri, 27 Apr 2007, Andrew Morton wrote:
>
> hm, could do. might_sleep() is intertwined with preempt in complex ways,
> but we did decouple that at the config level. no_mmap_sem() will dtrt for
> all preempt settings.
>
> But I'll be keeping this as a -mm-only debug patch (which brings us up to
> about thirty of 'em), so I think it's best to make it unconfigurable so we
> get maximum coverage.
>
> That's if it actually works. I haven't tried running it yet, and I have a
> feeling that running it might cause a big "doh" moment. We'll see.
Yes, I'm expecting the crucial
> + WARN_ON(rwsem_is_locked(&mm->mmap_sem))
to give a bogus warning every time another thread (or /proc,
or swapoff, or whatever) happens to have this mmap_sem locked.
might_sleep() is quite different, works on our thread's info.
Hugh
-
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