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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/202305230837.db2c233f-yujie.liu@xxxxxxxxx/

---

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(-)

--
Signed-off-by: Kirill Tkhai <tkhai@xxxxx>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux