]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched: Consolidate pick_*_task to task_is_pushable helper
authorConnor O'Brien <connoro@google.com>
Wed, 9 Oct 2024 23:53:38 +0000 (16:53 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 14 Oct 2024 10:52:41 +0000 (12:52 +0200)
commit18adad1dac3334ed34f60ad4de2960df03058142
tree2d4f597f5f532d981699c3966efbca376814066b
parent2b05a0b4c08ffd6dedfbd27af8708742cde39b95
sched: Consolidate pick_*_task to task_is_pushable helper

This patch consolidates rt and deadline pick_*_task functions to
a task_is_pushable() helper

This patch was broken out from a larger chain migration
patch originally by Connor O'Brien.

[jstultz: split out from larger chain migration patch,
 renamed helper function]

Signed-off-by: Connor O'Brien <connoro@google.com>
Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Metin Kaya <metin.kaya@arm.com>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: Metin Kaya <metin.kaya@arm.com>
Link: https://lore.kernel.org/r/20241009235352.1614323-6-jstultz@google.com
kernel/sched/deadline.c
kernel/sched/rt.c
kernel/sched/sched.h