Skip to content

mm: Make unregistration of super_block shrinker more faster

Kirill Tkhai linux-fsdevel linux-mm linux-xfs lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 18 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: vmscan: move shrinker_debugfs_remove() before synchronize_srcu()mm/vmscan.c+2 -21 reply
2/3mm: Split unregister_shrinker() in fast and slow partinclude/linux/shrinker.h mm/vmscan.c+33 -61 reply
3/3fs: Use delayed shrinker unregistrationfs/super.c+2 -111 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRoman Gushchin
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] mm: Make unregistration of super_block shrinker more faster

This patch set introduces a new scheme of shrinker unregistration. It allows to split the unregistration in two parts: fast and slow. This allows to hide slow part from a user, so user-visible unregistration becomes fast.

This fixes the -88.8% regression of stress-ng.ramfs.ops_per_sec noticed by kernel test robot:

https://lore.kernel.org/lkml/[email protected]/

---

Kirill Tkhai (2):
mm: Split unregister_shrinker() in fast and slow part
fs: Use delayed shrinker unregistration

Qi Zheng (1):
mm: vmscan: move shrinker_debugfs_remove() before synchronize_srcu()

 fs/super.c               |    3 ++-
 include/linux/shrinker.h |    4 ++++
 mm/vmscan.c              |   39 +++++++++++++++++++++++++++++++--------
 3 files changed, 37 insertions(+), 9 deletions(-)

--