Re: [RFC][PATCH RT 0/3] RT: Fix trylock deadlock without msleep() hack

From: Steven Rostedt
Date: Sat Sep 05 2015 - 08:27:38 EST


On Sat, 5 Sep 2015 08:18:36 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:


> I even had that solution in my slides at LinuxCon/LinuxPlumbers ;-)

Here's my slides:

http://rostedt.homelinux.com/private/linux-con-rt-into-mainline-2015.pdf

Slide 19 is where I start talking about it.

Slide 21 shows Ingo's solution.

Slide 22 shows the complex issue of dcache.c.

Would your solution work with that code?

-- Steve

>
>
> But then I talk about dcache.c. Take a look at that file, and the
> complexity of that. Is it safe to take the inode and dcache parent
> locks after you unlock the other locks?

--
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/