Re: Why can't I set the priority of softirq-hrt? (Re: 2.6.17-rt1)

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

 



On Thu, 22 Jun 2006, Thomas Gleixner wrote:

> On Thu, 2006-06-22 at 00:35 +0100, Esben Nielsen wrote:
> > On Wed, 21 Jun 2006, Thomas Gleixner wrote:
> >
> > > On Wed, 2006-06-21 at 22:29 +0100, Esben Nielsen wrote:
> > >>> Find an version against the code in -mm below. Not too much tested yet.
> > >>
> > >> What if setscheduler is called from interrup context as in the hrt timers?
> > >
> > > It simply gets stuff going, nothing else.
> > >
> > What I mean is that we will then do the full priority inheritance boost
> > with interrupts off.
>
> Only in the case when its called from IRQ context.
>

Uh, Thomas, we can't call rt_mutex_adjust_prio_chain from interrupt
context.  It grabs the wait_lock, which is documented not to be
called by interrupts.  So this can easily deadlock the system.

-- Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux