Skip to content

Commit bb475d5

Browse files
fredldotmeFakeShell
authored andcommitted
sched: tune: Support access through dfl_cftypes interface
Allows use of the schedtune cgroup v1 & v2 on systemd. NOTE: systemd itself does not have knowledge around schedtune, so an external cgroup manager is necessary.
1 parent b12ca2f commit bb475d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kernel/sched/tune.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,7 @@ struct cgroup_subsys schedtune_cgrp_subsys = {
910910
.attach = schedtune_attach,
911911
.can_attach = schedtune_can_attach,
912912
.cancel_attach = schedtune_cancel_attach,
913+
.dfl_cftypes = files,
913914
.legacy_cftypes = files,
914915
.early_init = 1,
915916
};

0 commit comments

Comments
 (0)