Re: [PATCH] vfs: drop one lock trip in evict()
From: Christian Brauner
Date: Tue Aug 27 2024 - 03:59:23 EST
On Mon, Aug 26, 2024 at 10:27:46PM GMT, Jan Kara wrote:
> On Tue 13-08-24 16:36:26, Mateusz Guzik wrote:
> > Most commonly neither I_LRU_ISOLATING nor I_SYNC are set, but the stock
> > kernel takes a back-to-back relock trip to check for them.
> >
> > It probably can be avoided altogether, but for now massage things back
> > to just one lock acquire.
> >
> > Signed-off-by: Mateusz Guzik <mjguzik@xxxxxxxxx>
>
> Back from vacation so not sure if this is still actual but the patch looks
> good to me. Feel free to add:
>
> Reviewed-by: Jan Kara <jack@xxxxxxx>
It's all still in vfs.misc so we can still add RvBs.
So go ahead and ack whatever you want to ack. :)