Ray of Light ...

Wednesday, February 14, 2007

Linux Kernel 2.6.20 API Changes

Linus Torvalds announced the release of Linux Kernel 2.6.20. More info on that - http://kerneltrap.org/node/7670

The following LWN article gives a very good summary of the API changes in the new 2.6.20 kernel -
http://lwn.net/Articles/219625/

Some of the things that are noteworthy -

* The workqueue interface has changed. There are now two different types of workqueues, depending on whether the delay featured is used ot not. Driver writers be aware!!! There is also a new "freezable" workqueue interface - workqueue that can be safely frozen during software suspend process.

* Much of the sysfs related code has changed to use struct device instead of struct class_device. The later will eventually go away. Driver writer be aware!!!

* slab allocator API has been cleaned up. Instead of using old kmem_cache_t, new struct kmem_cache should be used.

* paravirt_ops code has been merged in for easier suppor tof multiple hypervisors

* struct path changes have been marged. Now, instead of using file->f_dentry, file->f_path.dentry should be used.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home