mm: Make unregistration of super_block shrinker more faster
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 18 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm: vmscan: move shrinker_debugfs_remove() before synchronize_srcu()mm/ | +2 | 1 reply | |
| 2/3 | mm: Split unregister_shrinker() in fast and slow partinclude/ mm/ | +33 | 1 reply | |
| 3/3 | fs: Use delayed shrinker unregistrationfs/ | +2 | 11 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Roman Gushchin |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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(-)
--
Signed-off-by Kirill Tkhai <[email protected]>