From: KAMEZAWA Hiroyuki Date: Tue, 29 May 2012 22:07:03 +0000 (-0700) Subject: memcg: use res_counter_uncharge_until() in move_parent() X-Git-Tag: v3.5-rc1~49^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d01dd17f1067ca50dbb9d1d3400d33221ce339e7;p=pandora-kernel.git memcg: use res_counter_uncharge_until() in move_parent() By using res_counter_uncharge_until(), we can avoid race and unnecessary charging. Signed-off-by: KAMEZAWA Hiroyuki Cc: Aneesh Kumar K.V Cc: Michal Hocko Cc: Johannes Weiner Cc: Frederic Weisbecker Cc: Ying Han Cc: Glauber Costa Reviewed-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed