Skip to content

Commit 103149a

Browse files
Werkovhtejun
authored andcommitted
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 <[email protected]> Signed-off-by: Michal Koutný <[email protected]> Acked-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent db4dc20 commit 103149a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/cgroup/cpuset-v1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft,
176176

177177
switch (type) {
178178
case FILE_SCHED_RELAX_DOMAIN_LEVEL:
179+
pr_info_once("cpuset.%s is deprecated\n", cft->name);
179180
retval = update_relax_domain_level(cs, val);
180181
break;
181182
default:

0 commit comments

Comments
 (0)