| commit | 4924230f12b61e9628d6a58e64d8d47ba36c8fc5 | [log] [tgz] |
|---|---|---|
| author | Joel Fernandes <joelagnelf@nvidia.com> | Sat Aug 09 14:47:50 2025 -0400 |
| committer | Peter Zijlstra <peterz@infradead.org> | Mon Oct 13 21:16:14 2025 +0200 |
| tree | 3311bf40cda30ee00fcda60e6582e4eb6cd567b2 | |
| parent | 359fe920b55fa6a27d6b1c7536fef702b6729511 [diff] |
sched: Add support to pick functions to take rf
Some pick functions like the internal pick_next_task_fair() already take
rf but some others dont. We need this for scx's server pick function.
Prepare for this by having pick functions accept it.
[peterz: - added RETRY_TASK handling
- removed pick_next_task_fair indirection]
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Tejun Heo <tj@kernel.org>