Per superblock cache reclaim
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | dcache: fix __d_alloc prototype to use constfs/ fs/ | +3 | 0 replies | |
| 2/14 | vmscan: add shrink_slab tracepointsinclude/ mm/ | +78 | 2 replies | |
| 3/14 | vmscan: shrinker->nr updates race and go wrongmm/ | +32 | 0 replies | |
| 4/14 | vmscan: reduce wind up shrinker->nr when shrinker can't do workmm/ | +15 | 0 replies | |
| 5/14 | vmscan: add customisable shrinker batch sizeinclude/ mm/ | +7 | 0 replies | |
| 6/14 | inode: convert inode_stat.nr_unused to per-cpu countersfs/ | +11 | 0 replies | |
| 7/14 | inode: Make unused inode LRU per superblockfs/ fs/ include/ | +85 | 0 replies | |
| 8/14 | inode: move to per-sb LRU locksfs/ fs/ include/ | +16 | 2 replies | |
| 9/14 | superblock: move pin_sb_for_writeback() to fs/super.cfs/ fs/ fs/ | +35 | 0 replies | |
| 10/14 | superblock: introduce per-sb cache shrinker infrastructurefs/ fs/ fs/ +1 more | +79 | 0 replies | |
| 11/14 | inode: remove iprune_semfs/ | +0 | 0 replies | |
| 12/14 | superblock: add filesystem shrinker operationsDocumentation/ fs/ include/ | +51 | 0 replies | |
| 13/14 | vfs: increase shrinker batch sizeDocumentation/ fs/ | +7 | 1 reply | |
| 14/14 | xfs: make use of new shrinker callout for the inode cachefs/ fs/ fs/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/14] Per superblock cache reclaim
This series converts the VFS cache shrinkers to a per-superblock shrinker, and provides a callout from the superblock shrinker to allow the filesystem to shrink internal caches proportionally to the amount of reclaim done to the VFS caches.
The original posting contains the motiviation, benefits, performance, etc, and rather than repeat it all, just look here:
https://lkml.org/lkml/2011/6/2/42
The version has been rebased onto the untested branch in Al's VFS git tree, fixes the review comments from the first version, and has had much more testing under different workloads.
---
Version 2:
o rebase onto Al's #untested branch
o fix build problem in Al's untested branch
o move all slab shrinker modifications tracepoints into a single patch.
o renames some of the tracepoint variables to be more obvious as to what they are recording.
o move pin_sb_for_writeback() to fs/super.c and rename it to grab_super_passive() so the shrinker and writeback use the same passive reference counting and unmount detection
o rework per-superblock shrinker to use grab_super_passive()
o minor typo fixes in commit messages, documentation and commit messages
---
When the git mirror updates, this patchset will also be available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dgc/xfsdev.git per-sb-shrinker
If you get a version based on the current Linus tree, then it hasn't updated yet....
Dave Chinner (14):
dcache: fix __d_alloc prototype to use const
vmscan: add shrink_slab tracepoints
vmscan: shrinker->nr updates race and go wrong
vmscan: reduce wind up shrinker->nr when shrinker can't do work
vmscan: add customisable shrinker batch size
inode: convert inode_stat.nr_unused to per-cpu counters
inode: Make unused inode LRU per superblock
inode: move to per-sb LRU locks
superblock: move pin_sb_for_writeback() to fs/super.c
superblock: introduce per-sb cache shrinker infrastructure
inode: remove iprune_sem
superblock: add filesystem shrinker operations
vfs: increase shrinker batch size
xfs: make use of new shrinker callout for the inode cache
Documentation/filesystems/vfs.txt | 22 +++++++ fs/dcache.c | 121 ++++-------------------------------- fs/fs-writeback.c | 28 +-------- fs/inode.c | 124 ++++++++++++------------------------- fs/internal.h | 3 +- fs/libfs.c | 2 + fs/super.c | 109 ++++++++++++++++++++++++++++++++- fs/xfs/linux-2.6/xfs_super.c | 26 +++++--- fs/xfs/linux-2.6/xfs_sync.c | 71 ++++++++------------- fs/xfs/linux-2.6/xfs_sync.h | 5 +- include/linux/fs.h | 14 ++++ include/linux/mm.h | 1 + include/trace/events/vmscan.h | 71 +++++++++++++++++++++ mm/vmscan.c | 71 +++++++++++++++++----- 14 files changed, 374 insertions(+), 294 deletions(-)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>