diff options
| author | Tejun Heo <tj@kernel.org> | 2026-10-27 04:08:48 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-10-27 09:40:56 -1000 |
| commit | b7723dedac0e92e5a74e89cb800a0083c2ab9ee2 (patch) | |
| tree | 3715023d8e28da0ee583fd54771ca0f20268721e /tools/lib/python | |
| parent | a298fd5f4ee8f7e80c4dc74d9c501c22a037c6b6 (diff) | |
| download | linux-b7723dedac0e92e5a74e89cb800a0083c2ab9ee2.tar.gz linux-b7723dedac0e92e5a74e89cb800a0083c2ab9ee2.zip | |
sched_ext: Fix the rescue overload pick ejecting the wrong sub under bypass
An earlier patch sends a bypassed task to rescue when its host lacks
SCX_CAP_BASE on the cpu. The task's rescue time is charged to its owner, the
bypassing sub, which is usually exiting. The overload pick skips exiting
subs and ejects an unrelated sub or nobody. The host runs the task and lacks
BASE, but carries none of the charge.
Charge the sched running the rescuee, the host while the owner bypasses.
SCX_EV_SUB_RESCUE already counts on that sched and the stall watchdog blames
it.
Reported-by: Sashiko <sashiko-bot@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
