Re: [PATCH 2/4] mm/memcg: make memory.reclaim interface generic

From: Andrew Morton
Date: Mon Jun 23 2025 - 17:46:28 EST


On Mon, 23 Jun 2025 11:58:49 -0700 Davidlohr Bueso <dave@xxxxxxxxxxxx> wrote:

> This adds a general call for both parsing as well as the
> common reclaim semantics. memcg is still the only user and
> no change in semantics.
>
> +int user_proactive_reclaim(char *buf,
> + struct mem_cgroup *memcg, pg_data_t *pgdat);

Feeling nitty, is this a good name for it? It's hard to imagine what a
function called "user_proactive_reclaim" actually does.

That it isn't documented isn't helpful either!