]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
RFC cgroup/cpuset-v1: Add deprecation messages to sched_relax_domain_level
authorMichal Koutný <mkoutny@suse.com>
Tue, 11 Mar 2025 12:36:24 +0000 (13:36 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 11 Mar 2025 19:22:54 +0000 (09:22 -1000)
This is not a properly hierarchical resource, it might be better
implemented based on a sched_attr.

Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset-v1.c

index a1bbbd345041e74b89250c59fdd64c015c36a8a2..b69a7db67090d8d99de572a25998d37298b3b4ba 100644 (file)
@@ -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: