On Sun, 28 Jan 2024 14:17:43 -0800 Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > You seem to have used SRCU as a "I don't want to do refcounts" thing. > I bet you'll notice that it clarifies things *enormously* to just use > refcounts. Well, removing creating dentries in the readdir() logic is what opened up the door to a lot of simplification. Thanks for helping me with that. As I believe that may have been the source of most of the deadlocks we were struggling with. But yeah, kref probably could have fixed that too. -- Steve