diff options
author | Waiman Long <longman@redhat.com> | 2025-03-31 00:52:41 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-04-01 02:25:38 +0300 |
commit | 8bf450f3aec3d1bbd725d179502c64b8992588e4 (patch) | |
tree | 5d8483865ae440162c5a5f52b321db241f1d50d5 /tools/perf/scripts/python/gecko.py | |
parent | 668e041662e92ab3ebcb9eb606d3ec01884546ab (diff) | |
download | linux-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