diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-24 21:33:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-24 21:33:30 +0200 |
commit | f6602a97a11a3ddc077889fec2c026113c33c670 (patch) | |
tree | 7c9eb57eac0ab29e150dbde0e6edde60a50f2d11 /include | |
parent | Merge tag 'linux-kselftest-kunit-fixes-6.1-rc3' of git://git.kernel.org/pub/s... (diff) | |
parent | rcu: Keep synchronize_rcu() from enabling irqs in early boot (diff) | |
download | linux-f6602a97a11a3ddc077889fec2c026113c33c670.tar.xz linux-f6602a97a11a3ddc077889fec2c026113c33c670.zip |
Merge tag 'rcu-urgent.2022.10.20a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
Pull RCU fix from Paul McKenney:
"Fix a regression caused by commit bf95b2bc3e42 ("rcu: Switch polled
grace-period APIs to ->gp_seq_polled"), which could incorrectly leave
interrupts enabled after an early-boot call to synchronize_rcu().
Such synchronize_rcu() calls must acquire leaf rcu_node locks in order
to properly interact with polled grace periods, but the code did not
take into account the possibility of synchronize_rcu() being invoked
from the portion of the boot sequence during which interrupts are
disabled.
This commit therefore switches the lock acquisition and release from
irq to irqsave/irqrestore"
* tag 'rcu-urgent.2022.10.20a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
rcu: Keep synchronize_rcu() from enabling irqs in early boot
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions