Language Selection

English French German Italian Portuguese Spanish

Linux kernel 2.6.23 to have stable userspace driver API

Filed under

Linus Torvalds included patches into the mainline tree which implement a stable userspace driver API into the Linux kernel.

The stable driver API was already announced a year ago by Greg Kroah-Hartman. Now the last patches where uploaded and the API was included in Linus’ tree. The idea of the API is to make life easier for driver developers:

"This interface allows the ability to write the majority of a driver in userspace with only a very small shell of a driver in the kernel itself. It uses a char device and sysfs to interact with a userspace process to process interrupts and control memory accesses."

Since future drivers using this API will run mainly in userspace there is no need to open up the source code for these parts. Also, drivers can be re-used even after kernel changes because the API will remain stable.

The background motivation for the inclusion of such a stable API comes form the embedded world.

more here

More in Tux Machines

Type Title Author Replies Last Postsort icon
Story Android Leftovers Rianne Schestowitz 18/12/2018 - 6:18am
Story Linux 4.4.168 Rianne Schestowitz 18/12/2018 - 6:03am
Story Android Leftovers Rianne Schestowitz 17/12/2018 - 10:14pm
Story Five-Way Linux OS Comparison On Amazon's ARM Graviton CPU Rianne Schestowitz 17/12/2018 - 10:02pm
Story Take a swim at your Linux terminal with asciiquarium Rianne Schestowitz 17/12/2018 - 9:59pm
Story Photography and Linux Rianne Schestowitz 17/12/2018 - 9:55pm
Story Linux 3.18.130 Rianne Schestowitz 17/12/2018 - 9:49pm
Story Rugged, Jetson TX2 based computer targets AI on the edge Rianne Schestowitz 17/12/2018 - 9:47pm
Story i.MX8M based Pico-ITX SBC has both HDMI and mini-DP Rianne Schestowitz 17/12/2018 - 9:43pm
Story Android Leftovers Rianne Schestowitz 17/12/2018 - 9:38pm