[GIT PULL] sched/urgent for 5.17

From: Borislav Petkov
Date: Sun Feb 20 2022 - 07:09:55 EST


Hi Linus,

following the discussion from last week, here's hopefully a better fix
for the task exposure race.

Pls pull,
thx.

---

The following changes since commit 754e0b0e35608ed5206d6a67a791563c631cec07:

Linux 5.17-rc4 (2022-02-13 12:13:30 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/sched_urgent_for_v5.17_rc5

for you to fetch changes up to b1e8206582f9d680cff7d04828708c8b6ab32957:

sched: Fix yet more sched_fork() races (2022-02-19 11:11:05 +0100)

----------------------------------------------------------------
- Fix task exposure order when forking tasks

----------------------------------------------------------------
Peter Zijlstra (1):
sched: Fix yet more sched_fork() races

include/linux/sched/task.h | 4 ++--
kernel/fork.c | 13 ++++++++++++-
kernel/sched/core.c | 34 +++++++++++++++++++++-------------
3 files changed, 35 insertions(+), 16 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Ivo Totev, HRB 36809, AG Nürnberg