diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-04-17 09:46:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-04-17 09:46:15 -0700 |
commit | 0e59732ed61a24458b6875c162660dc0758b678f (patch) | |
tree | 2d311f349c8b4495314437fd7c485b43aede933f /kernel/relay.c | |
parent | 7e1777f5ec178542adf0506e5ba2308f5be862a7 (diff) | |
parent | b7ba6d8dc3569e49800ef0136799f26f43e237e8 (diff) | |
download | linux-0e59732ed61a24458b6875c162660dc0758b678f.tar.bz2 |
Merge tag 'smp-urgent-2022-04-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull SMP fixes from Thomas Gleixner:
"Two fixes for the SMP core:
- Make the warning condition in flush_smp_call_function_queue()
correct, which checked a just emptied list head for being empty
instead of validating that there was no pending entry on the
offlined CPU at all.
- The @cpu member of struct cpuhp_cpu_state is initialized when the
CPU hotplug thread for the upcoming CPU is created. That's too late
because the creation of the thread can fail and then the following
rollback operates on CPU0. Get rid of the CPU member and hand the
CPU number to the involved functions directly"
* tag 'smp-urgent-2022-04-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_state
smp: Fix offline cpu check in flush_smp_call_function_queue()
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions