diff options
| author | KAMEZAWA Hiroyuki <[email protected]> | 2008-02-07 00:14:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-07 08:42:19 -0800 |
| commit | 9175e0311ec9e6d1bf1f6dfecf9268baf08765e6 (patch) | |
| tree | 36ca9f47f8bc18345980270dc9d355f7c107cf6e /include/linux | |
| parent | f1a9ee758de7de1e040de849fdef46e6802ea117 (diff) | |
bugfix for memory controller: add helper function for assigning cgroup to page
This patch adds following functions.
- clear_page_cgroup(page, pc)
- page_cgroup_assign_new_page_group(page, pc)
Mainly for cleanup.
A manner "check page->cgroup again after lock_page_cgroup()" is
implemented in straight way.
A comment in mem_cgroup_uncharge() will be removed by force-empty patch
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Pavel Emelianov <[email protected]>
Cc: Paul Menage <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Kirill Korotaev <[email protected]>
Cc: Herbert Poetzl <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Vaidyanathan Srinivasan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions