Re: [PATCH 3.4.62-rt77] fix irq thread scheduling

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

 




On Fri, 4 Oct 2013, Sebastian Andrzej Siewior wrote:

> * Thomas Pfaff | 2013-09-19 11:02:57 [+0200]:
> 
> >If an irq is requested during device open, for example by opening a serial 
> >device, then request_irq is called in the context of the opening process.
> >If the process lacks off CAP_SYS_NICE the irq thread is running with SCHED_OTHER 
> >priority.
> >
> >The problem exists in other real time patches as well, 3.10 seems to be ok.
> 
> Hmmm. I see the same check in v3.10 compared to v3.6 which so I *think*
> v3.10 has the same problem.
> However this does not look to be -RT specific, you should see the same
> problem in mainline, too. Could you please verify whether this does
> affect v3.10? And if it does, we should try to fix up it upstream, too
> 

I did a quick check with 3.10.14-rt9 and it is not affected, because 
sched_setscheduler is called in the context of the irq thread as the mainline 
kernel does, but the 3.6 rt patch moved this into __setup_irq.

Thomas
--
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