diff options
author | 2024-03-21 20:29:43 +0100 | |
---|---|---|
committer | 2024-04-02 12:56:08 +0200 | |
commit | f186b2dace86f36cc08872b693185eaf71128898 (patch) | |
tree | 4e5f58833227af9bb0e430525828afe6a6ea027d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.9-rc2 (diff) | |
download | wireguard-linux-f186b2dace86f36cc08872b693185eaf71128898.tar.xz wireguard-linux-f186b2dace86f36cc08872b693185eaf71128898.zip |
cpufreq: intel_pstate: Drop redundant locking from intel_pstate_driver_cleanup()
Remove the spinlock locking from intel_pstate_driver_cleanup() as it is
not necessary because no other code accessing all_cpu_data[] can run in
parallel with that function.
Had the locking been necessary, though, it would have been incorrect
because the lock in question is acquired from a hardirq handler and
it cannot be acquired from thread context without disabling interrupts.
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