Skip to content

Commit 3138192

Browse files
Werkovhtejun
authored andcommitted
cgroup/cpuset-v1: Add deprecation messages to mem_exclusive and mem_hardwall
The concept of exclusive memory affinity may require complex approaches like with cpuset v2 cpu partitions. There is so far no implementation in cpuset v2. Specific kernel memory affinity may cause unintended (global) bottlenecks like kmem limits. Signed-off-by: Michal Koutný <[email protected]> Acked-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent a0ab145 commit 3138192

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/cgroup/cpuset-v1.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,11 @@ static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft,
465465
retval = cpuset_update_flag(CS_CPU_EXCLUSIVE, cs, val);
466466
break;
467467
case FILE_MEM_EXCLUSIVE:
468+
pr_info_once("cpuset.%s is deprecated\n", cft->name);
468469
retval = cpuset_update_flag(CS_MEM_EXCLUSIVE, cs, val);
469470
break;
470471
case FILE_MEM_HARDWALL:
472+
pr_info_once("cpuset.%s is deprecated\n", cft->name);
471473
retval = cpuset_update_flag(CS_MEM_HARDWALL, cs, val);
472474
break;
473475
case FILE_SCHED_LOAD_BALANCE:

0 commit comments

Comments
 (0)