From: KAMEZAWA Hiroyuki Date: Thu, 29 Jan 2009 22:25:13 +0000 (-0800) Subject: memcg: fix refcnt handling at swapoff X-Git-Tag: v2.6.29-rc4~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85d9fc89fb0f0703df6444f260187c088a8d59ff;p=pandora-kernel.git 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 Tested-by: Li Zefan Tested-by: Daisuke Nishimura Signed-off-by: KAMEZAWA Hiroyuki Reviewed-by: Daisuke Nishimura Cc: Balbir Singh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed