Re: [PATCH 4/4] kernfs: Remove kernfs_rwsem from dentry revalidation

From: Sandeep Dhavale

Date: Fri Sep 11 2026 - 17:12:29 EST


> Hi Sandeep, thanks for the report. Do you have a reproducer? If yes, can you
> reproduce with this series?
>
Hi Shakeel,
No luck with the reproducer yet, and reports have been sporadic.

> I think first we need a real reproducer before considering anything. I would not
> add a check unless we have proof that it is really needed.

Ok, I understand. Do you have any opinion on the suspected call chain
which makes dentry->d_inode = NULL; ?
Partner report said it happens under memory pressure, and userspace
component was reading the CMA stats through
sysfs [1]. So I naturally looked at the shrinker and suspected that
call chain, which made sense for my 6.12 kernel call stack.

Thanks,
Sandeep.
[1] https://cs.android.com/android/platform/superproject/+/android-latest-release:system/memory/libmeminfo/sysmeminfo.cpp;l=545?q=sysme&ss=android%2Fplatform%2Fsuperproject