<p dir="ltr"><br>
On Oct 3, 2013 8:28 PM, "sujan dutta" <<a href="mailto:stoned.seven@gmail.com">stoned.seven@gmail.com</a>> wrote:<br>
><br>
><br>
> Yes you can, infact network subsystem softirq are reactive so it can run again.<br>
> however, reactivated softirq are not immediately process but until kernel handles the pending softirqs because it might introduce latency in user-space. <br>
> And for better performance, when pending BH grows excessively then family of kernel threads are wakes up to handle the load.<br>
Family of threads mentioned here is called ksoftirqd.<br>
Linux uses the ksoftirqd as the general solution to schedule softirq's to run before next interrupt and by putting them under scheduler control. Also this prevents consecutive softirq's from monopolizing the CPU. This also has the effect that the priority of ksoftirq needs to be considered when running very CPU-intensive applications and networking to get the proper balance of softirq/user balance. Increasing ksoftirq priority to 0 (eventually more) is reported to cure problems with low network performance at high CPU load.<br>
I think softirq calling itself is a problem which is delicately managed by linux kernel developers and how to improve the code and logic is an active field where you can contribute.<br>
><br>
><br>
> On 27-Sep-2013, at 4:44 PM, Vishwas Srivastava (vishsriv) <<a href="mailto:vishsriv@cisco.com">vishsriv@cisco.com</a>> wrote:<br>
><br>
>> Hi Group,<br>
>> I am a bit unclear if, I could schedule another BH while I am already running in a BH ?<br>
>> For example, if I am running in a SOFT IRQ, can I schedule a tasklet from there ??<br>
>> <br>
>> Thanks,<br>
>> Vishwas S<br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> Kernelnewbies mailing list<br>
>> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
>> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
</p>