diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2025-03-11 17:08:22 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-03-12 21:14:53 +0100 |
commit | 0f42194c6b22d687fd53c8aea5413cf976366672 (patch) | |
tree | 2591af76686dd10a12c86ce2c0c10fc6962ee089 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 13b4f9e126cb55b65430bae7e704cea23c78620c (diff) |
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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions