aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaisuke Nishimura <[email protected]>2009-01-07 18:08:12 -0800
committerLinus Torvalds <[email protected]>2009-01-08 08:31:07 -0800
commitb85a96c0b6cb79c67e7b01b66368f2e31579d7c5 (patch)
tree178005176284faef0f8a47293eaddd2885062f53 /tools/perf/scripts/python
parentf9717d28d673468883df8ac34b47268719ac5a3d (diff)
memcg: memory swap controller: fix limit check
There are scatterd calls of res_counter_check_under_limit(), and most of them don't take mem+swap accounting into account. define mem_cgroup_check_under_limit() and avoid direct use of res_counter_check_limit(). Reported-by: Daisuke Nishimura <[email protected]> Signed-off-by: Daisuke Nishimura <[email protected]> Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Daisuke Nishimura <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions