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

Re: [rtl] question about soft irq



For one thing, it is simpler to implement soft irqs this way.
Also, 255 possible irqs is plenty for both hard and soft interrupts.

Michael.

dyd (dyd@process.buaa.edu.cn) wrote:
> Hi, all
> 
> We know that the way using soft irq in rtl is first
>     rtl_get_soft_irq(linux_handler,name)
> 
> >From the code I know that when /rtl_get_soft_irq/, it will occupy one item
> of /irq_desc/
> and assign it the corresponding handler, etc.
> 
> My question is : Why we use /irq_desc/? After all, it is a precious resource
> shared by
> hardware interrupt. We can use another array to record soft-irq, And check
> the array
> when /rtl_intercept/.
> 
> If there any are other reasons than just save some labor? Or I make some
> mistake?
> 
> Thanks a lot.
> 
> Regards
> Du Yuedong
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/