Porting Linux Tasklets
Hi,
How do I implement a Linux Tasklet in a RTDM driver?
I am currently using the tasklet_hi_schedule() API in my Linux driver and need to port that to my RTDM driver.
Best regards,
Rob
Quoted 5 lines · Robert McCullough
Hi,
How do I implement a Linux Tasklet in a RTDM driver?
I am currently using thetasklet_hi_schedule()API in my Linux driver and need to port that to my RTDM driver.
I assume that the code in the tasklet handler is supposed to fulfil real-time requirements: Either in a rtdm_task (using e.g. rtdm_event_signal/wait for communication) or directly in the IRQ handler. That depends on the worst-case execution time of the handler and if there are might be tasks/IRQs that should have higher priority.
Jan