Changelog in Linux kernel 6.12.3

 
Linux: Linux 6.12.3 [+ + +]
Author: Greg Kroah-Hartman <[email protected]>
Date:   Fri Dec 6 07:20:46 2024 +0100

    Linux 6.12.3
    
    Signed-off-by: Greg Kroah-Hartman <[email protected]>

 
sched: Initialize idle tasks only once [+ + +]
Author: Thomas Gleixner <[email protected]>
Date:   Mon Oct 28 11:43:42 2024 +0100

    sched: Initialize idle tasks only once
    
    commit b23decf8ac9102fc52c4de5196f4dc0a5f3eb80b upstream.
    
    Idle tasks are initialized via __sched_fork() twice:
    
         fork_idle()
            copy_process()
              sched_fork()
                 __sched_fork()
            init_idle()
              __sched_fork()
    
    Instead of cleaning this up, sched_ext hacked around it. Even when analyis
    and solution were provided in a discussion, nobody cared to clean this up.
    
    init_idle() is also invoked from sched_init() to initialize the boot CPU's
    idle task, which requires the __sched_fork() invocation. But this can be
    trivially solved by invoking __sched_fork() before init_idle() in
    sched_init() and removing the __sched_fork() invocation from init_idle().
    
    Do so and clean up the comments explaining this historical leftover.
    
    Signed-off-by: Thomas Gleixner <[email protected]>
    Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Greg Kroah-Hartman <[email protected]>