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

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2015-09-05 12:27:37 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2015/09/4570256
- Thread: https://ratatoskr.run/linux-rt-users/2015/09/4569401/t.md

```text
On Sat, 5 Sep 2015 08:18:36 -0400
Steven Rostedt [ref] 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?

```
