diff options
| author | Qi Zheng <qi.zheng@linux.dev> | 2026-10-11 12:59:56 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-12 21:29:59 -0700 |
| commit | 2967f3ccdb5fae956f1b085370ec292bab5c7e25 (patch) | |
| tree | df07b7a0b868a140c93862f6528c14a4c343247b /include | |
| parent | 664208a30604cb0e3ae35b65a7c535dbf3094fc8 (diff) | |
mm: shmem: assign a lock class to the unused huge shrinklist
The unused huge shrinklist shares the default list_lru lock class with the
dentry LRU. Although they use distinct lock instances, lockdep conflates
their dependencies and reports a circular locking dependency:
WARNING: possible circular locking dependency detected
Give the unused huge shrinklist a dedicated lock class to fix this
false-positive lockdep warning.
Link: https://lore.kernel.org/20261011045956.30277-1-qi.zheng@linux.dev
Fixes: b9b1861d4f7a ("mm: shmem: make unused huge shrinker memcg aware")
Signed-off-by: Qi Zheng <qi.zheng@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reported-by: kernel test robot <yi1.lai@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202610091403.d1d8080b-lkp@intel.com
Cc: Hugh Dickins <hughd@google.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Usama Arif <usama.arif@linux.dev>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
