diff options
author | John Stultz <jstultz@google.com> | 2025-07-12 03:33:47 +0000 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-07-14 17:16:32 +0200 |
commit | be41bde4c3a86de4be5cd3d1ca613e24664e68dc (patch) | |
tree | da8c4db3a597249a6ab9dfc476ba6da128cbf916 /rust/helpers/completion.c | |
parent | aa4f74dfd42ba4399f785fb9c460a11bd1756f0a (diff) |
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) <peterz@infradead.org>
Juri Lelli <juri.lelli@redhat.com>
Valentin Schneider <valentin.schneider@arm.com>
Connor O'Brien <connoro@google.com>
[jstultz: Split out from larger proxy patch and simplified
for review and testing.]
Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lkml.kernel.org/r/20250712033407.2383110-7-jstultz@google.com
Diffstat (limited to 'rust/helpers/completion.c')
0 files changed, 0 insertions, 0 deletions