Re: 4.9.6-rt4: big latency due to a kworker upon serial interrupts

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

 



On 2017-01-31 17:05:28 [+0100], thierry bultel wrote:
> Hi,
Hi,

…
> To reproduce this very easily, I generate interrupts by just keeping
> the return key pressed in the serial console.
> It it also reproducible, by performing a 'ping -f' from another machine.
> 
…

> #define MY_PRIORITY (49) /* we use 49 as the PRREMPT_RT use 50
>                                 as the priority of kernel tasklets
>                                 and interrupt handler by default */
> 
…
> 	param.sched_priority = MY_PRIORITY;
> 	if(sched_setscheduler(0, SCHED_FIFO, &param) == -1) {

If I read this right your application has a lower priority than the
threaded interrupt which means the interrupt will be preferred over the
application. This in turn means the your application won't wake up in
time if there is an interrupt pending. However the kworker should not
block the application.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux