aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorZqiang <[email protected]>2022-12-15 03:57:55 +0000
committerPaul E. McKenney <[email protected]>2023-01-04 01:28:34 +0000
commit3d1adf7ada352b80e037509d26cdca156f75e830 (patch)
tree015b1388da4ad7022a285454156239546f1d25f8 /drivers/acpi/cppc_acpi.c
parentrcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait() (diff)
downloadkernel-3d1adf7ada352b80e037509d26cdca156f75e830.tar.gz
kernel-3d1adf7ada352b80e037509d26cdca156f75e830.zip
rcu: Make rcu_blocking_is_gp() stop early-boot might_sleep()
Currently, rcu_blocking_is_gp() invokes might_sleep() even during early boot when interrupts are disabled and before the scheduler is scheduling. This is at best an accident waiting to happen. Therefore, this commit moves that might_sleep() under an rcu_scheduler_active check in order to ensure that might_sleep() is not invoked unless sleeping might actually happen. Signed-off-by: Zqiang <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions