diff options
| author | Hugh Dickins <[email protected]> | 2008-03-04 14:29:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-03-04 16:35:15 -0800 |
| commit | 8289546e573d5ff681cdf0fc7a1184cca66fdb55 (patch) | |
| tree | 9cf874b55eb9a6c97233d137278c7b7c89a5f4a1 /scripts/patch-kernel | |
| parent | 7e924aafa4b03ff71de34af8553d9a1ebc86c071 (diff) | |
memcg: remove mem_cgroup_uncharge
Nothing uses mem_cgroup_uncharge apart from mem_cgroup_uncharge_page, (a
trivial wrapper around it) and mem_cgroup_end_migration (which does the same
as mem_cgroup_uncharge_page). And it often ends up having to lock just to let
its caller unlock. Remove it (but leave the silly locking until a later
patch).
Moved mem_cgroup_cache_charge next to mem_cgroup_charge in memcontrol.h.
Signed-off-by: Hugh Dickins <[email protected]>
Cc: David Rientjes <[email protected]>
Acked-by: Balbir Singh <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hirokazu Takahashi <[email protected]>
Cc: YAMAMOTO Takashi <[email protected]>
Cc: Paul Menage <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions