[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7rs5dxmaoww35a37ikwhzd2afkrqsk4rgm7xwfaes5vbnbwghu@cf3f5hm6r7cc>
Date: Fri, 28 Jun 2024 17:43:46 -0700
From: Shakeel Butt <shakeel.butt@...ux.dev>
To: Roman Gushchin <roman.gushchin@...ux.dev>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>, Muchun Song <muchun.song@...ux.dev>
Subject: Re: [PATCH v1 4/9] mm: memcg: gather memcg1-specific fields
initialization in memcg1_memcg_init()
On Fri, Jun 28, 2024 at 09:03:12PM GMT, Roman Gushchin wrote:
> Gather all memcg1-specific struct mem_cgroup's members initialization
> in a new memcg1_memcg_init() function, defined in mm/memcontrol-v1.c.
> Obviously, if CONFIG_MEMCG_V1 is not set, there is no need to
> initialize these fields, so the function becomes trivial.
>
> Signed-off-by: Roman Gushchin <roman.gushchin@...ux.dev>
Acked-by: Shakeel Butt <shakeel.butt@...ux.dev>
Powered by blists - more mailing lists