Messages in this thread | | | Date | Tue, 14 Jun 2022 12:31:59 +1000 | Subject | Re: [PATCH RESEND v4 1/4] kernfs: make ->attr.open RCU protected. | From | Imran Khan <> |
| |
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@oracle.com/
| |