diff options
| author | KAMEZAWA Hiroyuki <[email protected]> | 2012-05-29 15:07:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-05-29 16:22:27 -0700 |
| commit | d01dd17f1067ca50dbb9d1d3400d33221ce339e7 (patch) | |
| tree | 07c8f7da424666c7fd81bb4a5b8288e68b87d094 /lib/mpi/mpi-add.c | |
| parent | 2bb2ba9d51a8044a71a29608d2c4ef8f5b2d57a2 (diff) | |
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 <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ying Han <[email protected]>
Cc: Glauber Costa <[email protected]>
Reviewed-by: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions