]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcontrol: let v2 cgroups follow changes in system swappiness
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 5 May 2016 23:22:03 +0000 (16:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 May 2016 00:38:53 +0000 (17:38 -0700)
commit60d5894ebf14260a8c0daadb3b91a78f8be96b47
tree669934154f523a705f2da9f461095a0a36b6880b
parentca1e7bba1ba4c46bdf419940b7492a1673f0aff4
mm: memcontrol: let v2 cgroups follow changes in system swappiness

Cgroup2 currently doesn't have a per-cgroup swappiness setting.  We
might want to add one later - that's a different discussion - but until
we do, the cgroups should always follow the system setting.  Otherwise
it will be unchangeably set to whatever the ancestor inherited from the
system setting at the time of cgroup creation.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Cc: <stable@vger.kernel.org> [4.5]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/swap.h