diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2015-01-08 14:32:35 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-01-08 15:10:52 -0800 |
commit | 24d404dc10b903da271e943a0f6b032dcbd177d8 (patch) | |
tree | 23c537f967a9522fb4e0a8a117b490b725453291 /mm/cma.c | |
parent | 70ecb3cb033f37fd5024448f809ea028fb85c28b (diff) | |
download | op-kernel-dev-24d404dc10b903da271e943a0f6b032dcbd177d8.zip op-kernel-dev-24d404dc10b903da271e943a0f6b032dcbd177d8.tar.gz |
mm: memcontrol: switch soft limit default back to infinity
Commit 3e32cb2e0a12 ("mm: memcontrol: lockless page counters")
accidentally switched the soft limit default from infinity to zero,
which turns all memcgs with even a single page into soft limit excessors
and engages soft limit reclaim on all of them during global memory
pressure. This makes global reclaim generally more aggressive, but also
inverts the meaning of existing soft limit configurations where unset
soft limits are usually more generous than set ones.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/cma.c')
0 files changed, 0 insertions, 0 deletions