[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z4pCe_B9cwilD7zh@tiehlicka>
Date: Fri, 17 Jan 2025 12:43:55 +0100
From: Michal Hocko <mhocko@...e.com>
To: zhiguojiang <justinjiang@...o.com>
Cc: Johannes Weiner <hannes@...xchg.org>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Shakeel Butt <shakeel.butt@...ux.dev>,
Muchun Song <muchun.song@...ux.dev>,
Andrew Morton <akpm@...ux-foundation.org>, cgroups@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
opensource.kernel@...o.com
Subject: Re: [PATCH] mm: memcg supports freeing the specified zone's memory
On Fri 17-01-25 18:25:13, zhiguojiang wrote:
[...]
> > Could you describe problem that you are trying to solve?
>
> In a dual zone system with both movable and normal zones, we encountered
> the problem where the GFP_KERNEL flag failed to allocate memory from the
> normal zone and crashed. Analyzing the logs, we found that there was
> very little free memory in the normal zone, but more free memory in the
> movable zone at this time. Therefore, we want to reclaim accurately
> the normal zone's memory occupied by memcg through
> try_to_free_mem_cgroup_pages().
Could you be more specific please? What was the allocation request. Has
the allocation or charge failed? Do you have allocation failure memory
info or oom killer report?
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists