diff options
author | Peter Zijlstra <[email protected]> | 2021-05-31 12:21:13 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-06-01 16:00:11 +0200 |
commit | 15faafc6b449777a85c0cf82dd8286c293fed4eb (patch) | |
tree | aaa65f485e131cc6f4d46219a05d9c5050b99189 /scripts/gdb/linux/tasks.py | |
parent | 7b419f47facd286c6723daca6ad69ec355473f78 (diff) |
sched,init: Fix DEBUG_PREEMPT vs early boot
Extend 8fb12156b8db ("init: Pin init task to the boot CPU, initially")
to cover the new PF_NO_SETAFFINITY requirement.
While there, move wait_for_completion(&kthreadd_done) into kernel_init()
to make it absolutely clear it is the very first thing done by the init
thread.
Fixes: 570a752b7a9b ("lib/smp_processor_id: Use is_percpu_thread() instead of nr_cpus_allowed")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Tested-by: Valentin Schneider <[email protected]>
Tested-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions