diff options
author | Qi Zheng <zhengqi.arch@bytedance.com> | 2022-01-14 23:09:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-15 15:30:31 +0100 |
commit | 8c57c07741bf28e7d867f1200aa80120b8ca663e (patch) | |
tree | a1dd720ef152b699ce47a96b3cc96c6cb4c7017d /mm/rmap.c | |
parent | mm/hwpoison: fix unpoison_memory() (diff) | |
download | linux-8c57c07741bf28e7d867f1200aa80120b8ca663e.tar.xz linux-8c57c07741bf28e7d867f1200aa80120b8ca663e.zip |
mm: memcg/percpu: account extra objcg space to memory cgroups
Similar to slab memory allocator, for each accounted percpu object there
is an extra space which is used to store obj_cgroup membership. Charge
it too.
[akpm@linux-foundation.org: fix layout]
Link: https://lkml.kernel.org/r/20211126040606.97836-1-zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Acked-by: Dennis Zhou <dennis@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions