Greg Kroah Hartman : Objects in the Linux kernel (09/04/2015)


Greg KROAH HARTMAN (Linux Foundation)


Objects in the Linux kernel: evolution is good


This talk will discuss how the Linux kernel driver model came to be, starting out with one idea, which was refined by a group of people over time to encompass all types of devices within the kernel.  This evolution changed Linux to use object oriented programming throughout all drivers, taking small objects and building on them, all using only the C language with almost no runtime overhead.

This model would never have come about except due to the way the Linux kernel is developed, with multiple developer helping each other out, and forcing developers to break their changes up into small individual pieces.  Combined with the fact that all device drivers are within the kernel source tree, this has enabled Linux drivers to be, on average, 1/3 smaller than drivers for other operating systems.
Portions of this model have now been copied by the BSD kernels, including MacOS, validating the basic idea in a cross-codebase manner.


Practical information

Thursday, April the 9th, 14-16 PM.

LIP6, room 24-25/405.


Citer ce billet
Baptiste Mélès (2015, 14 septembre). Greg Kroah Hartman : Objects in the Linux kernel (09/04/2015). Séminaire Codes sources. Consulté le 20 mai 2024, à l’adresse

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.