diff options
| author | Liang Luo <luoliang@kylinos.cn> | 2026-06-08 15:55:00 +0800 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-06-09 10:28:08 +0200 |
| commit | 9ebe5c3c29f6217412ff256134516d4dff0e5624 (patch) | |
| tree | fbb1f82dd50a8a9585f7ffe08017e378c262a2b9 /rust/kernel/alloc | |
| parent | 76124a050ddbc8b252172205ab04f10a83c03a4d (diff) | |
sched/deadline: Use task_on_rq_migrating() helper
Replace the open-coded "p->on_rq == TASK_ON_RQ_MIGRATING" comparisons
in enqueue_task_dl() and dequeue_task_dl() with the existing
task_on_rq_migrating() helper, consistent with the rest of the
scheduler code.
No functional change.
Signed-off-by: Liang Luo <luoliang@kylinos.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://patch.msgid.link/20260608075500.387271-1-luoliang@kylinos.cn
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
