Thread (35 messages) 35 messages, 6 authors, 2025-02-12

Re: [RFC][PATCH 1/2] sched: Extended scheduler time slice

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2025-02-06 13:53:56
Also in: linux-mm, lkml

On 2025-02-06 14:48:59 [+0100], Peter Zijlstra wrote:
On Thu, Feb 06, 2025 at 02:44:08PM +0100, Sebastian Andrzej Siewior wrote:
quoted
SCHED_OTHER vs SCHED_OTHER after all. But please don't delay a wakeup of
SCHED_FIFO/ RR/ DL because of this LAZY hint.
Thing will get delayed if interrupts are disabled or kernel has
preemption disabled too. So as long as we ensure hint crap is of equal
order, nothing cares if you do.

If you can't tell the difference between task does hint crap in
userspace and task is in the middle of syscall, you can't tell the
difference.
I can tell the difference if I see a trace where an interrupt fires,
performs a wakeup and the SCHED_OTHER task remains on CPU while the task
SCHED_FIFO task sits on the runqueue until a timer fires.

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help