diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2009-01-29 23:25:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-30 03:04:43 +0100 |
commit | 85d9fc89fb0f0703df6444f260187c088a8d59ff (patch) | |
tree | ba034e2b8bff6b7f3b62a826a0106dc0e1391b46 /Documentation/cgroups | |
parent | gpiolib: fix request related issue (diff) | |
download | linux-85d9fc89fb0f0703df6444f260187c088a8d59ff.tar.xz linux-85d9fc89fb0f0703df6444f260187c088a8d59ff.zip |
memcg: fix refcnt handling at swapoff
Now, at swapoff, even while try_charge() fails, commit is executed. This
is a bug which turns the refcnt of cgroup_subsys_state negative.
Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Tested-by: Li Zefan <lizf@cn.fujitsu.com>
Tested-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/cgroups')
0 files changed, 0 insertions, 0 deletions