On Mon, 2025-09-08 at 09:52 +0200, Sebastian Andrzej Siewior wrote: > On 2025-09-08 08:36:32 [+0200], Lukas Wunner wrote: > > --- a/kernel/sched/syscalls.c > > +++ b/kernel/sched/syscalls.c > > @@ -847,6 +847,15 @@ void sched_set_fifo(struct task_struct *p) > > EXPORT_SYMBOL_GPL(sched_set_fifo); > > > > /* > > + * Secondary IRQ handler has slightly lower priority than primary IRQ handler. > > For tasks that should be sched_set_fifo() but require not to preempt > another sched_set_fifo() task. SCHED_FIFO already means that tasks of the same priority won't preempt each other. I'd word it as: For tasks that must be preemptible by a sched_set_fifo() task, such as to simulate the behavior of a non-PREEMPT_RT system where the sched_set_fifo() task is a hard interrupt. -Crystal