]> Git Repo - linux.git/commit - mm/vmscan.c
memcg: fix zone congestion
authorKAMEZAWA Hiroyuki <[email protected]>
Tue, 17 May 2011 22:44:10 +0000 (15:44 -0700)
committerLinus Torvalds <[email protected]>
Wed, 18 May 2011 09:55:23 +0000 (02:55 -0700)
commitd6c438b6cd733834a3cec55af8577a8fc3548016
tree95c7719415aecf9f2a09b1e885d23ba54eb9b5b8
parentd5f33d45e4c0e306e8d16b4573891a65d9ad544f
memcg: fix zone congestion

ZONE_CONGESTED should be a state of global memory reclaim.  If not, a busy
memcg sets this and give unnecessary throttoling in wait_iff_congested()
against memory recalim in other contexts.  This makes system performance
bad.

I'll think about "memcg is congested!" flag is required or not, later.
But this fix is required first.

Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Acked-by: Ying Han <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmscan.c
This page took 0.05754 seconds and 4 git commands to generate.