aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2025-03-11 17:08:22 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-03-12 21:14:53 +0100
commit0f42194c6b22d687fd53c8aea5413cf976366672 (patch)
tree2591af76686dd10a12c86ce2c0c10fc6962ee089 /tools/perf/scripts/python/export-to-postgresql.py
parentPM: sleep: Remove unused pm_generic_ wrappers (diff)
downloadwireguard-linux-0f42194c6b22d687fd53c8aea5413cf976366672.tar.xz
wireguard-linux-0f42194c6b22d687fd53c8aea5413cf976366672.zip
PM: s2idle: Drop redundant locks when entering s2idle
The calls to cpus_read_lock|unlock() protects us from getting CPUS hotplugged, while entering suspend-to-idle. However, when s2idle_enter() is called we should be far beyond the point when CPUs may be hotplugged. Let's therefore simplify the code and drop the use of the lock. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://patch.msgid.link/20250311160827.1129643-2-ulf.hansson@linaro.org [ rjw: Rewrote the new comment ] 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