]> 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)
commit5e41a8d96be4c9682bd4d4fba36860b304d37f3c
treea329c9a4f93561058947b0de2eec36a6f23280c1
parent8ef896ac365b5e8b1471bb3203ed163fac46f4a9
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