diff options
author | Vladimir Davydov <vdavydov@virtuozzo.com> | 2016-03-17 14:18:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 15:09:34 -0700 |
commit | 0fc9f58a90a5012942abf0ae98cfc852afebc0a6 (patch) | |
tree | 3b51544a861e0fc6f9e6398937552aff1e55a072 /mm/slab_common.c | |
parent | b313aeee25098bf361c808fe45ba2d3af398ec46 (diff) | |
download | talos-obmc-linux-0fc9f58a90a5012942abf0ae98cfc852afebc0a6.tar.gz talos-obmc-linux-0fc9f58a90a5012942abf0ae98cfc852afebc0a6.zip |
mm: vmscan: pass root_mem_cgroup instead of NULL to memcg aware shrinker
It's just convenient to implement a memcg aware shrinker when you know
that shrink_control->memcg != NULL unless memcg_kmem_enabled() returns
false.
Signed-off-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions