[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4570dbe-77de-40e2-8fce-b672e014ac57@redhat.com>
Date: Tue, 11 Mar 2025 11:09:18 -0400
From: Waiman Long <llong@...hat.com>
To: Michal Koutný <mkoutny@...e.com>,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Tejun Heo <tj@...nel.org>, Johannes Weiner <hannes@...xchg.org>
Subject: Re: [PATCH v2 06/11] cgroup/cpuset-v1: Add deprecation messages to
memory_migrate
On 3/11/25 8:36 AM, Michal Koutný wrote:
> Memory migration (between cgroups) was given up in v2 due to performance
> reasons of its implementation. Migration between NUMA nodes within one
> memcg may still make sense to modify affinity at runtime though.
>
> Signed-off-by: Michal Koutný <mkoutny@...e.com>
> ---
> kernel/cgroup/cpuset-v1.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/cgroup/cpuset-v1.c b/kernel/cgroup/cpuset-v1.c
> index b243bdd952d78..7c37fabcf0ba8 100644
> --- a/kernel/cgroup/cpuset-v1.c
> +++ b/kernel/cgroup/cpuset-v1.c
> @@ -436,6 +436,7 @@ static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft,
> retval = cpuset_update_flag(CS_SCHED_LOAD_BALANCE, cs, val);
> break;
> case FILE_MEMORY_MIGRATE:
> + pr_info_once("cpuset.%s is deprecated\n", cft->name);
> retval = cpuset_update_flag(CS_MEMORY_MIGRATE, cs, val);
> break;
> case FILE_MEMORY_PRESSURE_ENABLED:
Acked-by: Waiman Long <longman@...hat.com>
Powered by blists - more mailing lists