Can a Bottom half be scheduled from a kernel thread

Pranay Srivastava pranjas at gmail.com
Mon May 12 20:58:34 EDT 2014


On May 13, 2014 2:36 AM, "Vishwas Srivastava" <vishu.kernel at gmail.com>
wrote:
>
> Hi All,
>             This may sound a dumb question. I just want to know if a
tasklet can be scheduled from a kernel thread.

You can do tasklet_schedule in case I am getting your question.

> what are the pros and crons of doing so?

Don't sleep or schedule the tasklet code. It needs to be atomic since it
runs via TASKLET_SOFTIRQ.

> thanks,
> Vishwas S
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140513/18d91180/attachment.html 


More information about the Kernelnewbies mailing list