diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-02-20 12:40:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-02-20 12:40:20 -0800 |
commit | 0b0894ff78cc47bc72d53ec340e4898782189868 (patch) | |
tree | 5a52bffb3e19a68479909aa2d5097fe228fdcb32 /include | |
parent | 6e8e752f705c2713005a3182c8444ef7b54f10aa (diff) | |
parent | b1e8206582f9d680cff7d04828708c8b6ab32957 (diff) | |
download | linux-stable-0b0894ff78cc47bc72d53ec340e4898782189868.tar.gz linux-stable-0b0894ff78cc47bc72d53ec340e4898782189868.tar.bz2 linux-stable-0b0894ff78cc47bc72d53ec340e4898782189868.zip |
Merge tag 'sched_urgent_for_v5.17_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Borislav Petkov:
"Fix task exposure order when forking tasks"
* tag 'sched_urgent_for_v5.17_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched: Fix yet more sched_fork() races
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched/task.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h index b9198a1b3a84..e84e54d1b490 100644 --- a/include/linux/sched/task.h +++ b/include/linux/sched/task.h @@ -54,8 +54,8 @@ extern asmlinkage void schedule_tail(struct task_struct *prev); extern void init_idle(struct task_struct *idle, int cpu); extern int sched_fork(unsigned long clone_flags, struct task_struct *p); -extern void sched_post_fork(struct task_struct *p, - struct kernel_clone_args *kargs); +extern void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs); +extern void sched_post_fork(struct task_struct *p); extern void sched_dead(struct task_struct *p); void __noreturn do_task_dead(void); |