Language Selection

English French German Italian Portuguese Spanish

Linux kernel 2.6.23 to have stable userspace driver API

Filed under
Linux

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

Plata Is A New Gtk Theme Based On The Latest Material Design Refresh

Plata is a new Gtk+ theme based on the latest Material Design refresh. The theme comes in 3 variants, regular (mixed), Lumiere (light) and Noir (dark), each with regular and compact versions. The theme, which mixes black, indigo and grey with bits of red and purple, supports Gtk+ 3.20.x, 3.22.x and 3.24.x, as well as Gtk+ 2, and a multitude of desktop environments like Gnome Shell (and Flashback), Cinnamon, Xfce, Mate, LXDE, and Budgie Desktop. Patheon (elementary OS), Unity 7 and "Gnome Shell customized by Canonical" (the Ubuntu session) are not officially supported by Plata theme. I've used Plata in Ubuntu 18.10 with Gnome Shell and I didn't notice any issues other than the theme GDM theme not being used, but this is only after about an hour of usage. Read more

Android Leftovers

GNOME 3.31.2 released

GNOME 3.31.2 is now available. This is the second unstable development release leading to 3.32 stable series. Apologies that it's slightly late: there were some technical snafus. If you want to compile GNOME 3.31.2, you can use the official BuildStream project snapshot. Thanks to BuildStream's build sandbox, it should build reliably for you regardless of the dependencies on your host system... Read more Also: GNOME 3.31.2 Desktop Released

Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower

After running a lot of tests and then bisecting the Linux 4.20 kernel merge window, the reason for the significant slowdowns in the Linux 4.20 kernel for many real-world workloads is now known... This latest Linux 4.20 testing endeavor started out with seeing the Intel Core i9 performance pulling back in many synthetic and real-world tests. This ranged from Rodinia scientific OpenMP tests taking 30% longer to Java-based DaCapo tests taking up to ~50% more time to complete to code compilation tests taking measurably longer to lower PostgreSQL database server performance to longer Blender3D rendering times. That happened with a Core i9 7960X and Core i9 7980XE test systems while the AMD Threadripper 2990WX performance was unaffected by the Linux 4.20 upgrade. Read more