• Linus Torvalds's avatar
    Merge tag 'smp-core-2024-07-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0eff0491
    Linus Torvalds authored
    Pull CPU hotplug updates from Thomas Gleixner:
     "A small set of SMP/CPU hotplug updates:
    
       - Reverse the order of iteration when freezing secondary CPUs for
         hibernation.
    
         This avoids that drivers like the Intel uncore performance counter
         have to transfer the assignement of handling the per package uncore
         events for every CPU in a package, which is a considerable speedup
         on larger systems.
    
       - Add a missing destroy_work_on_stack() invocation in
         smp_call_on_cpu() to prevent debug objects to emit a false positive
         warning when the stack is freed.
    
       - Small cleanups in comments and a str_plural() conversion"
    
    * tag 'smp-core-2024-07-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()
      cpu/hotplug: Reverse order of iteration in freeze_secondary_cpus()
      smp: Use str_plural() to fix Coccinelle warnings
      cpu/hotplug: Fix typo in comment
    0eff0491
cpu.c 77.8 KB