Re: [PATCH] eventfs: Use SRCU for freeing eventfs_inodes

From: Steven Rostedt
Date: Tue Jul 23 2024 - 17:23:32 EST


On Tue, 23 Jul 2024 23:07:53 +0200
Mathias Krause <minipli@xxxxxxxxxxxxxx> wrote:

> To mirror the SRCU lock held in eventfs_iterate() when iterating over
> eventfs inodes, use call_srcu() to free them too.
>
> This was accidentally(?) degraded to RCU in commit 43aa6f97c2d0
> ("eventfs: Get rid of dentry pointers without refcounts").

Yeah, I missed that. Linus cleaned up the code code quite a bit, but
missed the subtleties of the RCU clean ups. I should have caught that
in my review.

Thanks for sending this.

-- Steve