Re: [PATCH] PCI/AER: Use IRQF_NO_THREAD on aer_irq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux