]> git.baikalelectronics.ru Git - kernel.git/commit
sched/psi: Reduce psimon FIFO priority
authorPeter Zijlstra <peterz@infradead.org>
Thu, 1 Aug 2019 10:41:31 +0000 (12:41 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 6 Aug 2019 10:49:18 +0000 (12:49 +0200)
commit2792d96811e35a6b73ad917838c28a2dacfff583
tree89b34b782e22592bf1067da55c1cf4d68338b3d2
parent964100a982d83610553343e957eec05327be881a
sched/psi: Reduce psimon FIFO priority

PSI defaults to a FIFO-99 thread, reduce this to FIFO-1.

FIFO-99 is the very highest priority available to SCHED_FIFO and
it not a suitable default; it would indicate the psi work is the
most important work on the machine.

Since Real-Time tasks will have pre-allocated memory and locked it in
place, Real-Time tasks do not care about PSI. All it needs is to be
above OTHER.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Tested-by: Suren Baghdasaryan <surenb@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
kernel/sched/psi.c