Re: [PATCH RESEND v4 1/4] kernfs: make ->attr.open RCU protected.

From: Imran Khan
Date: Mon Jun 13 2022 - 22:51:08 EST


Hello Tejun,

On 14/6/22 3:30 am, Tejun Heo wrote:
[...]
>
> Just merge all three into one accessor. You can list both the !list_empty
> condition and lock held conditions on the same rcu_dereference_check() call.
>

I have all merged all dereferencing into one accessor in v5 [1] of this
patch-set. Could you please let me know your feedback ?

Thanks
-- Imran

[1]: https://lore.kernel.org/lkml/20220614020840.546013-1-imran.f.khan@xxxxxxxxxx/