当前位置:网站首页>Rk3399 platform development series explanation (interruption) 13.10, workqueue work queue

Rk3399 platform development series explanation (interruption) 13.10, workqueue work queue

2022-07-07 06:09:00 Kernel notes

 Insert picture description here

platform Kernel version Android version
RK3399Linux4.4Android7.1

Return to the column catalog

precipitation 、 Share 、 grow up , Let yourself and others have something to gain !

Work queue mechanism (workqueue) Yes, except for soft interrupts and tasklet The most commonly used lower half mechanism outside . The basic principle of work queue is to put work( Functions that need to be deferred ) It is executed by a kernel thread , It's always in Execute in process context .

The advantage of work queues is to use the process context to perform the lower half of the interrupt , So work queues allow rescheduling and sleep , Is the process context of asynchronous execution , In addition, it can also solve soft interrupts and tasklet Execution time

原网站

版权声明
本文为[Kernel notes]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130721532434.html