]> git.baikalelectronics.ru Git - kernel.git/commit
locking/rtmutex: Squash !RT tasks to DEFAULT_PRIO
authorPeter Zijlstra <peterz@infradead.org>
Sun, 15 Aug 2021 21:28:30 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 15:51:02 +0000 (17:51 +0200)
commitc32cfdb165ef5c55178f0f0f79f6ffc9f7771c7f
treea329c9a4f93561058947b0de2eec36a6f23280c1
parentbebd252e543a12cfb91928b838958b53d6ee8ff9
locking/rtmutex: Squash !RT tasks to DEFAULT_PRIO

Ensure all !RT tasks have the same prio such that they end up in FIFO
order and aren't split up according to nice level.

The reason why nice levels were taken into account so far is historical. In
the early days of the rtmutex code it was done to give the PI boosting and
deboosting a larger coverage.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211303.938676930@linutronix.de
kernel/locking/rtmutex.c