]> git.baikalelectronics.ru Git - kernel.git/commit
sched/autogroup: Fix sysctl move
authorPeter Zijlstra <peterz@infradead.org>
Mon, 30 May 2022 07:45:38 +0000 (09:45 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 30 May 2022 10:36:36 +0000 (12:36 +0200)
commit0d4d414363ea0ceee64779cd2ac156e8e26c8fa4
tree0a5d225f8b0b570f2166d80c019cdbb562afe5d7
parent6c8f41576f560ea849c689dd90287eea8c9ef03e
sched/autogroup: Fix sysctl move

Ivan reported /proc/sys/kernel/sched_autogroup_enabled went walk-about
and using the noautogroup command line parameter would result in a
boot error message.

Turns out the sysctl move placed the init function wrong.

Fixes: 7908d726fed0 ("sched: move autogroup sysctls into its own file")
Reported-by: Ivan Kozik <ivan@ludios.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Ivan Kozik <ivan@ludios.org>
Link: https://lkml.kernel.org/r/YpR2IqndgsyMzN00@worktop.programming.kicks-ass.net
kernel/sched/autogroup.c