diff options
| author | Gao Xiang <gaoxiang25@huawei.com> | 2018-07-26 20:22:04 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-27 17:24:10 +0200 |
| commit | a15813126272e5f81311e5e1330162baa40e5b0a (patch) | |
| tree | 98ad3b2a8b90878e7635a8ed0e1ab54484ff2266 /tools/perf/scripts/python/stackcollapse.py | |
| parent | staging: erofs: introduce superblock registration (diff) | |
| download | linux-a15813126272e5f81311e5e1330162baa40e5b0a.tar.gz linux-a15813126272e5f81311e5e1330162baa40e5b0a.zip | |
staging: erofs: introduce erofs shrinker
This patch adds a dedicated shrinker targeting to free unneeded
memory consumed by a number of erofs in-memory data structures.
Like F2FS and UBIFS, it also adds:
- sbi->umount_mutex to avoid races on shrinker and put_super
- sbi->shrinker_run_no to not revisit recently scaned objects
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
