On May 13, 2014 2:36 AM, "Vishwas Srivastava" <[email protected]>
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
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to