Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cgroup/cpuset-v1: Add deprecation messages to sched_load_balance and memory_pressure_enabled

These two v1 feature have analogues in cgroup v2.

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Michal Koutný and committed by
Tejun Heo
a0dd8462 c7461cca

+2
+2
kernel/cgroup/cpuset-v1.c
··· 471 471 retval = cpuset_update_flag(CS_MEM_HARDWALL, cs, val); 472 472 break; 473 473 case FILE_SCHED_LOAD_BALANCE: 474 + pr_info_once("cpuset.%s is deprecated, use cpuset.cpus.partition instead\n", cft->name); 474 475 retval = cpuset_update_flag(CS_SCHED_LOAD_BALANCE, cs, val); 475 476 break; 476 477 case FILE_MEMORY_MIGRATE: 477 478 retval = cpuset_update_flag(CS_MEMORY_MIGRATE, cs, val); 478 479 break; 479 480 case FILE_MEMORY_PRESSURE_ENABLED: 481 + pr_info_once("cpuset.%s is deprecated, use memory.pressure with CONFIG_PSI instead\n", cft->name); 480 482 cpuset_memory_pressure_enabled = !!val; 481 483 break; 482 484 case FILE_SPREAD_PAGE: