[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f4fd9e5f-b054-41af-e8a8-7a3074f937d8@virtuozzo.com>
Date: Thu, 14 Oct 2021 20:43:16 +0300
From: Vasily Averin <vvs@...tuozzo.com>
To: Johannes Weiner <hannes@...xchg.org>,
Shakeel Butt <shakeelb@...gle.com>
Cc: Michal Hocko <mhocko@...e.com>,
Mel Gorman <mgorman@...hsingularity.net>,
Uladzislau Rezki <urezki@...il.com>,
Roman Gushchin <guro@...com>,
Andrew Morton <akpm@...ux-foundation.org>,
Cgroups <cgroups@...r.kernel.org>, Linux MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] memcg: page_alloc: skip bulk allocator for __GFP_ACCOUNT
On 14.10.2021 18:23, Johannes Weiner wrote:
> On Thu, Oct 14, 2021 at 08:01:16AM -0700, Shakeel Butt wrote:
>> Regarding xfs_buf_alloc_pages(), it is not using __GFP_ACCOUNT
>
> It probably should, actually. Sorry, somewhat off-topic, but we've
> seen this consume quite large amounts of memory. __GFP_ACCOUNT and
> vmstat tracking seems overdue for this one.
If this will be required, you can use
[PATCH mm v5] memcg: enable memory accounting in __alloc_pages_bulk
https://lkml.org/lkml/2021/10/14/197
As far as I understand it will not be used right now,
however I decided to submit it anyway, perhaps it may be needed later.
Thank you,
Vasily Averin
Powered by blists - more mailing lists