diff options
author | 2024-03-21 20:30:42 +0100 | |
---|---|---|
committer | 2024-04-02 12:56:33 +0200 | |
commit | 12ebba42d2f1eadc0f897ffeb6dbcfaf2449e107 (patch) | |
tree | c98cd3286ed527e600b20be536f8b698c5ea4d33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: intel_pstate: Drop redundant locking from intel_pstate_driver_cleanup() (diff) | |
download | wireguard-linux-12ebba42d2f1eadc0f897ffeb6dbcfaf2449e107.tar.xz wireguard-linux-12ebba42d2f1eadc0f897ffeb6dbcfaf2449e107.zip |
cpufreq: intel_pstate: Simplify spinlock locking
Because intel_pstate_enable/disable_hwp_interrupt() are only called from
thread context, they need not save the IRQ flags when using a spinlock
as interrupts are guaranteed to be enabled when they run, so make them
use spin_lock/unlock_irq().
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions