History

Merge tag 'sched-urgent-2022-06-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Thomas Gleixner: "Fix the fallout of sysctl code move which placed the init function wrong" * tag 'sched-urgent-2022-06-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/autogroup: Fix sysctl move

Linus Torvalds committed 4 years ago

Commit bc1e02c2 parents fa11c28 82f586f1 file · +1 −1Browse files

Unified · Split

kernel/sched/autogroup.c+1−1
@@ -36,6 +36,7 @@ void __init autogroup_init(struct task_struct *init_task) · 35 unmodified lines
3636 kref_init(&autogroup_default.kref);
3737 init_rwsem(&autogroup_default.lock);
3838 init_task->signal->autogroup = &autogroup_default;
39+ sched_autogroup_sysctl_init();
3940 }
4041
4142 void autogroup_free(struct task_group *tg)
@@ -219,7 +220,6 @@ void sched_autogroup_exit(struct signal_struct *sig) · 177 unmodified lines
219220 static int __init setup_autogroup(char *str)
220221 {
221222 sysctl_sched_autogroup_enabled = 0;
222− sched_autogroup_sysctl_init();
223223
224224 return 1;
225225 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t