commit | 0fc9f58a90a5012942abf0ae98cfc852afebc0a6 | [log] [tgz] |
---|---|---|
author | Vladimir Davydov <vdavydov@virtuozzo.com> | Thu Mar 17 14:18:30 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Mar 17 15:09:34 2016 -0700 |
tree | 3b51544a861e0fc6f9e6398937552aff1e55a072 | |
parent | b313aeee25098bf361c808fe45ba2d3af398ec46 [diff] |
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>