sched/cpupri: Add CPUPRI_HIGHER
authorPeter Zijlstra <peterz@infradead.org>
Wed, 14 Oct 2020 19:39:04 +0000 (21:39 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 29 Oct 2020 10:00:30 +0000 (11:00 +0100)
commitb13772f8135633f273f0cf742143b19cffbf9e1d
tree01ae7f3e51e0c94d829ace28f75c14250f3e4165
parent934fc3314b39e16a89fc4d5d0d5cbfe71dcbe7b1
sched/cpupri: Add CPUPRI_HIGHER

Add CPUPRI_HIGHER above the RT99 priority to denote the CPU is in use
by higher priority tasks (specifically deadline).

XXX: we should probably drive PUSH-PULL from cpupri, that would
automagically result in an RT-PUSH when DL sets cpupri to CPUPRI_HIGHER.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
kernel/sched/cpupri.c
kernel/sched/cpupri.h
kernel/sched/deadline.c