linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mm: Make unregistration of super_block shrinker more faster
@ 2023-06-05 19:02 Kirill Tkhai
  2023-06-05 19:03 ` [PATCH v2 1/3] mm: vmscan: move shrinker_debugfs_remove() before synchronize_srcu() Kirill Tkhai
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Kirill Tkhai @ 2023-06-05 19:02 UTC (permalink / raw)
  To: akpm, tkhai, roman.gushchin, vbabka, viro, brauner, djwong, hughd,
	paulmck, muchun.song, linux-mm, linux-fsdevel, linux-xfs,
	linux-kernel, zhengqi.arch, david

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@ya.ru>

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2023-06-09  2:50 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-05 19:02 [PATCH v2 0/3] mm: Make unregistration of super_block shrinker more faster Kirill Tkhai
2023-06-05 19:03 ` [PATCH v2 1/3] mm: vmscan: move shrinker_debugfs_remove() before synchronize_srcu() Kirill Tkhai
2023-06-06  0:31   ` Roman Gushchin
2023-06-05 19:03 ` [PATCH v2 2/3] mm: Split unregister_shrinker() in fast and slow part Kirill Tkhai
2023-06-07  4:49   ` kernel test robot
2023-06-07  7:33     ` Yujie Liu
2023-06-05 19:03 ` [PATCH v2 3/3] fs: Use delayed shrinker unregistration Kirill Tkhai
2023-06-06  0:38   ` Roman Gushchin
2023-06-06  1:24     ` Dave Chinner
2023-06-06  2:56       ` Roman Gushchin
2023-06-06  6:51         ` Dave Chinner
2023-06-06 15:56           ` Roman Gushchin
2023-06-06 21:21       ` Kirill Tkhai
2023-06-06 22:30         ` Dave Chinner
2023-06-08 16:36       ` Theodore Ts'o
2023-06-08 23:17         ` Dave Chinner
2023-06-09  0:27           ` Andrew Morton
2023-06-09  2:50             ` Qi Zheng
2023-06-05 22:32 ` [PATCH v2 0/3] mm: Make unregistration of super_block shrinker more faster Dave Chinner
2023-06-06 21:06   ` Kirill Tkhai
2023-06-06 22:02     ` Dave Chinner
2023-06-07  2:51       ` Qi Zheng
2023-06-08 21:58         ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).