aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2011-06-15 15:08:46 -0700
committerLinus Torvalds <[email protected]>2011-06-15 20:04:01 -0700
commitfbc29a25e484be073e7d762c9f7f1d4bf8aecc48 (patch)
tree276a9e1e0c3d8f653dd821c049ec4b6940a06c1d /lib/mpi/mpiutil.c
parent26fe616844491a41a1abc02e29f7a9d1ec2f8ddb (diff)
memcg: avoid percpu cached charge draining at softlimit
Based on Michal Hocko's comment. We are not draining per cpu cached charges during soft limit reclaim because background reclaim doesn't care about charges. It tries to free some memory and charges will not give any. Cached charges might influence only selection of the biggest soft limit offender but as the call is done only after the selection has been already done it makes no change. Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Daisuke Nishimura <[email protected]> Reviewed-by: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions