summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki2008-07-25 10:47:19 +0200
committerLinus Torvalds2008-07-25 19:53:37 +0200
commit12b9804419cfb1c1bdac413f6c373af3b88d154b (patch)
treeeff535da51774e53395a9fec0418bc5332009d3e /mm/memcontrol.c
parentmemcg: clean up checking of the disabled flag (diff)
downloadkernel-qcow2-linux-12b9804419cfb1c1bdac413f6c373af3b88d154b.tar.gz
kernel-qcow2-linux-12b9804419cfb1c1bdac413f6c373af3b88d154b.tar.xz
kernel-qcow2-linux-12b9804419cfb1c1bdac413f6c373af3b88d154b.zip
res_counter: limit change support ebusy
Add an interface to set limit. This is necessary to memory resource controller because it shrinks usage at set limit. Other controllers may not need this interface to shrink usage because shrinking is not necessary or impossible. Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Acked-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions