summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2025-03-31 00:52:41 +0300
committerTejun Heo <tj@kernel.org>2025-04-01 02:25:38 +0300
commit8bf450f3aec3d1bbd725d179502c64b8992588e4 (patch)
tree5d8483865ae440162c5a5f52b321db241f1d50d5 /tools/perf/scripts/python/gecko.py
parent668e041662e92ab3ebcb9eb606d3ec01884546ab (diff)
downloadlinux-8bf450f3aec3d1bbd725d179502c64b8992588e4.tar.xz
cgroup/cpuset: Fix error handling in remote_partition_disable()
When remote_partition_disable() is called to disable a remote partition, it always sets the partition to an invalid partition state. It should only do so if an error code (prs_err) has been set. Correct that and add proper error code in places where remote_partition_disable() is called due to error. Fixes: 181c8e091aae ("cgroup/cpuset: Introduce remote partition") Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions