diff options
| author | Neeraj Upadhyay <[email protected]> | 2021-12-13 06:10:24 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2022-02-02 01:05:10 +0000 |
| commit | 4d266c247d56751c2c97e0c411212b59e90922fc (patch) | |
| tree | 6d345b2308f4f1bd41f53849c999373a0f551c29 /drivers/acpi/cppc_acpi.c | |
| parent | rcu-tasks: Fix computation of CPU-to-list shift counts (diff) | |
| download | kernel-4d266c247d56751c2c97e0c411212b59e90922fc.tar.gz kernel-4d266c247d56751c2c97e0c411212b59e90922fc.zip | |
rcu/exp: Fix check for idle context in rcu_exp_handler
For PREEMPT_RCU, the rcu_exp_handler() function checks
whether the current CPU is in idle, by calling
rcu_dynticks_curr_cpu_in_eqs(). However, rcu_exp_handler()
is called in IPI handler context. So, it should be checking
the idle context using rcu_is_cpu_rrupt_from_idle(). Fix this
by using rcu_is_cpu_rrupt_from_idle() instead of
rcu_dynticks_curr_cpu_in_eqs(). Non-preempt configuration
already uses the correct check.
Reviewed-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Neeraj Upadhyay <[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
