Commit 31381927 authored by Michal Koutný's avatar Michal Koutný Committed by Tejun Heo
Browse files

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: default avatarMichal Koutný <mkoutny@suse.com>
Acked-by: default avatarWaiman Long <longman@redhat.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent a0ab1453
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -465,9 +465,11 @@ static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft,
		retval = cpuset_update_flag(CS_CPU_EXCLUSIVE, cs, val);
		break;
	case FILE_MEM_EXCLUSIVE:
		pr_info_once("cpuset.%s is deprecated\n", cft->name);
		retval = cpuset_update_flag(CS_MEM_EXCLUSIVE, cs, val);
		break;
	case FILE_MEM_HARDWALL:
		pr_info_once("cpuset.%s is deprecated\n", cft->name);
		retval = cpuset_update_flag(CS_MEM_HARDWALL, cs, val);
		break;
	case FILE_SCHED_LOAD_BALANCE: