diff options
| author | Vladimir Davydov <[email protected]> | 2015-02-12 14:58:51 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-12 18:54:08 -0800 |
| commit | 4101b624352fddb5ed72e7a1b6f8be8cffaa20fa (patch) | |
| tree | 0823d26ef8ad4eaab98a6dce8280c78139aafec7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 503c358cf1925853195ee39ec437e51138bbb7df (diff) | |
fs: consolidate {nr,free}_cached_objects args in shrink_control
We are going to make FS shrinkers memcg-aware. To achieve that, we will
have to pass the memcg to scan to the nr_cached_objects and
free_cached_objects VFS methods, which currently take only the NUMA node
to scan. Since the shrink_control structure already holds the node, and
the memcg to scan will be added to it when we introduce memcg-aware
vmscan, let us consolidate the methods' arguments in this structure to
keep things clean.
Signed-off-by: Vladimir Davydov <[email protected]>
Suggested-by: Dave Chinner <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Glauber Costa <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions