From: Glauber Costa Date: Fri, 20 Jan 2012 04:57:15 +0000 (+0000) Subject: cgroup: make sure memcg margin is 0 when over limit X-Git-Tag: v3.3-rc2~37^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cfd14ad1eb52e44cb1fe7b47a68126e45e04026;p=pandora-kernel.git cgroup: make sure memcg margin is 0 when over limit For the memcg sock code, we'll need to register allocations that are temporarily over limit. Let's make sure that margin is 0 in this case. I am keeping this as a separate patch, so that if any weirdness interaction appears in the future, we can now exactly what caused it. Suggested by Johannes Weiner Signed-off-by: Glauber Costa CC: KAMEZAWA Hiroyuki CC: Johannes Weiner CC: Michal Hocko CC: Tejun Heo CC: Li Zefan Acked-by: Tejun Heo Signed-off-by: David S. Miller --- Reading git-diff-tree failed