[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <judhtg6lth6zedqwzmskw354lti4dewcjj62mzln7kr7yyc43e@uy3qdzxxfbcw>
Date: Wed, 24 Jul 2024 16:05:57 -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 v2 2/5] mm: page_counters: put
page_counter_calculate_protection() under CONFIG_MEMCG
On Wed, Jul 24, 2024 at 08:21:00PM GMT, Roman Gushchin wrote:
> Put page_counter_calculate_protection() under CONFIG_MEMCG.
>
> The protection functionality (min/low limits) is not supported by any
> other cgroup subsystem, so page_counter_calculate_protection() and
> related static effective_protection() can be compiled out if
> CONFIG_MEMCG is not enabled.
>
> Signed-off-by: Roman Gushchin <roman.gushchin@...ux.dev>
Acked-by: Shakeel Butt <shakeel.butt@...ux.dev>
Powered by blists - more mailing lists