Commit f70942b
sched/core: Fix unbalance set_rq_online/offline() in sched_cpu_deactivate()
commit fe7a11c upstream.
If cpuset_cpu_inactive() fails, set_rq_online() need be called to rollback.
Fixes: 120455c ("sched: Fix hotplug vs CPU bandwidth control")
Cc: stable@kernel.org
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240703031610.587047-5-yangyingliang@huaweicloud.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 5a1263d commit f70942b
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9781 | 9781 | | |
9782 | 9782 | | |
9783 | 9783 | | |
| 9784 | + | |
9784 | 9785 | | |
9785 | 9786 | | |
9786 | 9787 | | |
| |||
0 commit comments