diff options
| author | John Stultz <[email protected]> | 2025-07-12 03:33:47 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2025-07-14 15:16:32 +0000 |
| commit | be41bde4c3a86de4be5cd3d1ca613e24664e68dc (patch) | |
| tree | da8c4db3a597249a6ab9dfc476ba6da128cbf916 /tools/perf/scripts/python/sched-migration.py | |
| parent | sched: Fix runtime accounting w/ split exec & sched contexts (diff) | |
| download | kernel-be41bde4c3a86de4be5cd3d1ca613e24664e68dc.tar.gz kernel-be41bde4c3a86de4be5cd3d1ca613e24664e68dc.zip | |
sched: Add an initial sketch of the find_proxy_task() function
Add a find_proxy_task() function which doesn't do much.
When we select a blocked task to run, we will just deactivate it
and pick again. The exception being if it has become unblocked
after find_proxy_task() was called.
This allows us to validate keeping blocked tasks on the runqueue
and later deactivating them is working ok, stressing the failure
cases for when a proxy isn't found.
Greatly simplified from patch by:
Peter Zijlstra (Intel) <[email protected]>
Juri Lelli <[email protected]>
Valentin Schneider <[email protected]>
Connor O'Brien <[email protected]>
[jstultz: Split out from larger proxy patch and simplified
for review and testing.]
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: K Prateek Nayak <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
