开发者

Using the new ( since Linux Kernel 2.6.20 ) workqueue interface

开发者 https://www.devze.com 2022-12-11 03:08 出处:网络
I\'ve been reading about Linux Kernel development / device drivers and all of the books I\'ve looked at use the pre-2.6.20 workqueue interface.This includes the Linux Kernel Module Programming Guide,

I've been reading about Linux Kernel development / device drivers and all of the books I've looked at use the pre-2.6.20 workqueue interface. This includes the Linux Kernel Module Programming Guide, Robert Love's Linux Kernel Development, and Sreekrishnan Venkateswaran's Essential Linux Device Drivers which was published in Ap开发者_如何学JAVAril 2008!

Does anyone have a guide to using the "new" 2.6.20+ workqueue interface?

Just for reference, Ubuntu 8.04 which I'm developing on at the moment, was released over a year and a half ago and includes kernel 2.6.24.

Edit

stsquad's answer led me to this guide to porting code to the new 2.6.20 workqueue's.


You can't go wrong with the excellent API articles on LWN (http://lwn.net/Kernel/Index/) which document a lot of the new APIs as they go into the kernel. There is a whole section devoted to Workqueues which is worth a read.

Workqueues have been in the kernel for a while so I assume your thinking about the recent-ish rework of the API.

Whilst I'm at it I can heartily recommend a subscription to LWN. All their articles are available for free after a week or so but it's worth supporting the high quality writing, especially if your an aspiring kernel hacker.

0

精彩评论

暂无评论...
验证码 换一张
取 消