diff options
| author | Daisuke Nishimura <[email protected]> | 2009-12-15 16:47:10 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-16 07:20:07 -0800 |
| commit | a3032a2c15c6967f9f0c0c28375b1a5c833a3112 (patch) | |
| tree | 32d279856032fd9d84ebd5d6746b2bd382baaac9 /include/linux/debugobjects.h | |
| parent | d8046582d5ee24448800e71c6933fdb6813aa062 (diff) | |
memcg: add mem_cgroup_cancel_charge()
There are some places calling both res_counter_uncharge() and css_put() to
cancel the charge and the refcnt we have got by mem_cgroup_tyr_charge().
This patch introduces mem_cgroup_cancel_charge() and call it in those
places.
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Daisuke Nishimura <[email protected]>
Reviewed-by: Balbir Singh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions