]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcontrol: switch soft limit default back to infinity
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 8 Jan 2015 22:32:35 +0000 (14:32 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2015 23:10:52 +0000 (15:10 -0800)
commit81f54fd865e4f1773c84c6184979e8a3d40c10bb
tree23c537f967a9522fb4e0a8a117b490b725453291
parentfdd9f50ca50a2e7f211d4ad6b4ea6b23dac2f3ad
mm: memcontrol: switch soft limit default back to infinity

Commit eb426bfca325 ("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>
mm/memcontrol.c