Re: [RFC][PATCH -rt] irqd starvation on SMP by a single process?

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

 



Steven Rostedt wrote:
> On Fri, 12 May 2006, Mark Hounschell wrote:
> 
>>> Mark, does this fix the problem?
>>>
>>> 	Ingo
>>>
>>> Index: linux-rt.q/drivers/net/3c59x.c
>>> ===================================================================
>>> --- linux-rt.q.orig/drivers/net/3c59x.c
>>> +++ linux-rt.q/drivers/net/3c59x.c
>>> @@ -1897,7 +1897,8 @@ vortex_timer(unsigned long data)
>>>
>>>  	if (vp->medialock)
>>>  		goto leave_media_alone;
>>> -	disable_irq(dev->irq);
>>> +	/* hack! */
>>> +	disable_irq_nosync(dev->irq);
>>>  	old_window = ioread16(ioaddr + EL3_CMD) >> 13;
>>>  	EL3WINDOW(4);
>>>  	media_status = ioread16(ioaddr + Wn4_Media);
>>>
>> Yes it does.
>>
> 
> 
> It fixes it for both "complete preemption" and "normal preemption"?
> 
> -- Steve
> 
> 

Normal for sure. I just rebooted to test complete.

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