Re: [PATCH mm v5] memcg: enable memory accounting in __alloc_pages_bulk
From: Andrew Morton <hidden>
Date: 2021-10-15 21:34:10
Also in:
linux-mm, lkml
From: Andrew Morton <hidden>
Date: 2021-10-15 21:34:10
Also in:
linux-mm, lkml
On Thu, 14 Oct 2021 11:02:57 +0300 Vasily Averin [off-list ref] wrote:
Bulk page allocator is used in vmalloc where it can be called with __GFP_ACCOUNT and must charge allocated pages into memory cgroup.
Is this problem serious enough to justify -stable backporting? Some words which explaining reasoning for the backport would be helpful. This patch makes Shakeel's "memcg: page_alloc: skip bulk allocator for __GFP_ACCOUNT" unnecessary. Which should we use?