Re: [2.6.27-rc5] inotify_read's ev_mutex vs do_page_fault's mmap_sem...

From: Daniel J Blueman
Date: Wed Sep 10 2008 - 16:10:58 EST


On Wed, Sep 10, 2008 at 9:12 PM, Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:
> On Wednesday 10 September 2008 14:07, Nick Piggin wrote:
>> On Wednesday 10 September 2008 07:03, Daniel J Blueman wrote:
>> > I observed this locking violation [1] while gnome-panel was loading;
>> > this was previously reported at
>> > http://uwsg.iu.edu/hypermail/linux/kernel/0806.3/2881.html .
>> >
>> > Let me know for more information/config/testing. Thanks!
>>
>> Thanks for the report. I've attached a patch you could test. It compiles
>> (and boots a UML here) but I don't think I've actually tested the inotify
>> path at all, so it may explode on you.
>
> Indeed it was wrong, I messed up the waitqueue handling. This one
> survives longer for me...

So far, so good with that last patch. I'll continue testing this and
follow up if I find any problem.

Thanks for the patching, Nick!

Daniel
--
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/