diff options
| author | KAMEZAWA Hiroyuki <[email protected]> | 2009-12-15 16:47:09 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-16 07:20:07 -0800 |
| commit | d8046582d5ee24448800e71c6933fdb6813aa062 (patch) | |
| tree | 857d014a850deee5ddb6da6550d81ce0122f03b1 /include/linux/debugobjects.h | |
| parent | cdec2e4265dfa09490601b00aeabd8a8d4af30f0 (diff) | |
memcg: make memcg's file mapped consistent with global VM
In global VM, FILE_MAPPED is used but memcg uses MAPPED_FILE. This makes
grep difficult. Replace memcg's MAPPED_FILE with FILE_MAPPED
And in global VM, mapped shared memory is accounted into FILE_MAPPED.
But memcg doesn't. fix it.
Note:
page_is_file_cache() just checks SwapBacked or not.
So, we need to check PageAnon.
Cc: Balbir Singh <[email protected]>
Reviewed-by: Daisuke Nishimura <[email protected]>
Signed-off-by: KAMEZAWA Hiroyuki <[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