Skip to content

Commit

Permalink
RFC cgroup/cpuset-v1: Add deprecation messages to sched_relax_domain_…
Browse files Browse the repository at this point in the history
…level

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>
  • Loading branch information
Michal Koutný authored and Tejun Heo committed Mar 11, 2025
1 parent db4dc20 commit 103149a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/cgroup/cpuset-v1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 103149a

Please sign in to comment.