Skip to content

Commit db4dc20

Browse files
Werkovhtejun
authored andcommitted
cgroup/cpuset-v1: Add deprecation messages to memory_migrate
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ý <[email protected]> Acked-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 3138192 commit db4dc20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/cgroup/cpuset-v1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft,
477477
retval = cpuset_update_flag(CS_SCHED_LOAD_BALANCE, cs, val);
478478
break;
479479
case FILE_MEMORY_MIGRATE:
480+
pr_info_once("cpuset.%s is deprecated\n", cft->name);
480481
retval = cpuset_update_flag(CS_MEMORY_MIGRATE, cs, val);
481482
break;
482483
case FILE_MEMORY_PRESSURE_ENABLED:

0 commit comments

Comments
 (0)