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 ([EMAIL PROTECTED]) 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 [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to