summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2012-05-30 00:07:03 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-30 01:22:27 +0200
commitd01dd17f1067ca50dbb9d1d3400d33221ce339e7 (patch)
tree07c8f7da424666c7fd81bb4a5b8288e68b87d094 /Documentation
parentrescounters: add res_counter_uncharge_until() (diff)
downloadlinux-d01dd17f1067ca50dbb9d1d3400d33221ce339e7.tar.xz
linux-d01dd17f1067ca50dbb9d1d3400d33221ce339e7.zip
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 <kamezawa.hiroyu@jp.fujitsu.com> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Cc: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ying Han <yinghan@google.com> Cc: Glauber Costa <glommer@parallels.com> Reviewed-by: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions