From: Michal Koutný Date: Tue, 11 Mar 2025 12:36:24 +0000 (+0100) Subject: RFC cgroup/cpuset-v1: Add deprecation messages to sched_relax_domain_level X-Git-Tag: v6.15-rc1~228^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=103149a0632eca460242ef01050f08a5050a32ce;p=thirdparty%2Flinux.git RFC cgroup/cpuset-v1: Add deprecation messages to sched_relax_domain_level This is not a properly hierarchical resource, it might be better implemented based on a sched_attr. Cc: Hidetoshi Seto Signed-off-by: Michal Koutný Acked-by: Waiman Long Signed-off-by: Tejun Heo --- diff --git a/kernel/cgroup/cpuset-v1.c b/kernel/cgroup/cpuset-v1.c index a1bbbd345041e..b69a7db67090d 100644 --- a/kernel/cgroup/cpuset-v1.c +++ b/kernel/cgroup/cpuset-v1.c @@ -176,6 +176,7 @@ static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, switch (type) { case FILE_SCHED_RELAX_DOMAIN_LEVEL: + pr_info_once("cpuset.%s is deprecated\n", cft->name); retval = update_relax_domain_level(cs, val); break; default: