<p dir="ltr"><br>
On May 13, 2014 2:36 AM, "Vishwas Srivastava" <<a href="mailto:vishu.kernel@gmail.com">vishu.kernel@gmail.com</a>> wrote:<br>
><br>
> Hi All,<br>
> This may sound a dumb question. I just want to know if a tasklet can be scheduled from a kernel thread.</p>
<p dir="ltr">You can do tasklet_schedule in case I am getting your question.</p>
<p dir="ltr">> what are the pros and crons of doing so?</p>
<p dir="ltr">Don't sleep or schedule the tasklet code. It needs to be atomic since it runs via TASKLET_SOFTIRQ.</p>
<p dir="ltr">> thanks,<br>
> Vishwas S<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>