diff options
| author | Shakeel Butt <[email protected]> | 2018-07-26 23:37:45 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-07-27 02:38:03 +0000 |
| commit | d97e5e6160c0e0a23963ec198c7cb1c69e6bf9e8 (patch) | |
| tree | 6e26bb4801d0a06e33023463939455002311bb32 /lib/debugobjects.c | |
| parent | zswap: re-check zswap_is_full() after do zswap_shrink() (diff) | |
| download | kernel-d97e5e6160c0e0a23963ec198c7cb1c69e6bf9e8.tar.gz kernel-d97e5e6160c0e0a23963ec198c7cb1c69e6bf9e8.zip | |
kvm, mm: account shadow page tables to kmemcg
The size of kvm's shadow page tables corresponds to the size of the
guest virtual machines on the system. Large VMs can spend a significant
amount of memory as shadow page tables which can not be left as system
memory overhead. So, account shadow page tables to the kmemcg.
[[email protected]: replace (GFP_KERNEL|__GFP_ACCOUNT) with GFP_KERNEL_ACCOUNT]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Shakeel Butt <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Peter Feiner <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
