Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'sched-urgent-2023-09-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Ingo Molnar:
"Fix a PF_IDLE initialization bug that generated warnings on tiny-RCU"

* tag 'sched-urgent-2023-09-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
kernel/sched: Modify initial boot task idle setup

+2 -1
+1 -1
kernel/sched/core.c
··· 9269 9269 * PF_KTHREAD should already be set at this point; regardless, make it 9270 9270 * look like a proper per-CPU kthread. 9271 9271 */ 9272 - idle->flags |= PF_IDLE | PF_KTHREAD | PF_NO_SETAFFINITY; 9272 + idle->flags |= PF_KTHREAD | PF_NO_SETAFFINITY; 9273 9273 kthread_set_per_cpu(idle, cpu); 9274 9274 9275 9275 #ifdef CONFIG_SMP
+1
kernel/sched/idle.c
··· 373 373 374 374 void cpu_startup_entry(enum cpuhp_state state) 375 375 { 376 + current->flags |= PF_IDLE; 376 377 arch_cpu_idle_prepare(); 377 378 cpuhp_online_idle(state); 378 379 while (1)