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 memory_spread_page and memory_spread_slab

There is MPOL_INTERLEAVE for user explicit allocations.
Deprecate spreading of allocations that users carry out unwittingly.
Use straight warning level for slab spreading since such a knob is
unnecessarily intertwined with slab allocator.

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
012c419f a0dd8462

+2
+2
kernel/cgroup/cpuset-v1.c
··· 482 482 cpuset_memory_pressure_enabled = !!val; 483 483 break; 484 484 case FILE_SPREAD_PAGE: 485 + pr_info_once("cpuset.%s is deprecated\n", cft->name); 485 486 retval = cpuset_update_flag(CS_SPREAD_PAGE, cs, val); 486 487 break; 487 488 case FILE_SPREAD_SLAB: 489 + pr_warn_once("cpuset.%s is deprecated\n", cft->name); 488 490 retval = cpuset_update_flag(CS_SPREAD_SLAB, cs, val); 489 491 break; 490 492 default: