You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But in the example bottomhalf.c, it is trying to sleep in the tasklet which will execute from interrupt context. Then the kernel will crash. I think work_queue or delayed_workqueue are the good candidate for sleep/block within the interrupt context.
thanks,
Kyle
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for the nice book.
But in the example bottomhalf.c, it is trying to sleep in the tasklet which will execute from interrupt context. Then the kernel will crash. I think work_queue or delayed_workqueue are the good candidate for sleep/block within the interrupt context.
thanks,
Kyle
The text was updated successfully, but these errors were encountered: