]> Git Repo - linux.git/commit - include/linux/res_counter.h
memcg: add interface to reset limits
authorDaisuke Nishimura <[email protected]>
Wed, 17 Jun 2009 23:27:20 +0000 (16:27 -0700)
committerLinus Torvalds <[email protected]>
Thu, 18 Jun 2009 20:03:48 +0000 (13:03 -0700)
commitc5b947b28828e82814605824e5db0bc58d66d8c0
tree0ce0c8c468668eb30d769fa97a99d332b9d9f987
parent22a668d7c3ef833e7d67e9cef587ecc78069d532
memcg: add interface to reset limits

We don't have an interface to reset mem.limit or memsw.limit now.

This patch allows to reset mem.limit or memsw.limit when they are being
set to -1.

Signed-off-by: Daisuke Nishimura <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Dhaval Giani <[email protected]>
Cc: YAMAMOTO Takashi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/cgroups/memory.txt
include/linux/res_counter.h
kernel/res_counter.c
This page took 0.055944 seconds and 4 git commands to generate.