[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <168599103578.70911.9402374667983518835.stgit@pro.pro>
Date: Mon, 5 Jun 2023 22:02:46 +0300
From: Kirill Tkhai <tkhai@...ru>
To: akpm@...ux-foundation.org, tkhai@...ru, roman.gushchin@...ux.dev,
vbabka@...e.cz, viro@...iv.linux.org.uk, brauner@...nel.org,
djwong@...nel.org, hughd@...gle.com, paulmck@...nel.org,
muchun.song@...ux.dev, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org, linux-xfs@...r.kernel.org,
linux-kernel@...r.kernel.org, zhengqi.arch@...edance.com,
david@...morbit.com
Subject: [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/202305230837.db2c233f-yujie.liu@intel.com/
---
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@...ru>
Powered by blists - more mailing lists