This event has ended. Create your own event → Check it out
This event has ended. Create your own
To Learn More: LinuxCon Europe | CloudOpen Europe | Embedded Linux Conference Europe.

Attendees! Please provide us feedback on the sessions you attend! Click here to submit a brief survey for each session and win a $250 Amazon gift certificate. 

>> Tracing Summit: View the Full Schedule

View analytic
Wednesday, October 15 • 2:30pm - 3:20pm
How to Design a Linux Kernel API - Michael Kerrisk, man7.org

Sign up or log in to save this to your schedule and see who's attending!

The Linux kernel-user-space API is littered with design errors: APIs that are non-extensibe, unmaintainable, overly complex, limited-purpose, violations of standards, and inconsistent. Most of those mistakes can't be fixed because doing so would break the ABI that the kernel presents to user-space binaries. To further rub salt into the wound, kernel-user-space APIs are often buggy when first shipped.

Thus, it's important to get API designs right the first time. Taking (good and bad) examples from past APIs, I'll cover a number ideas on improving the design of future kernel user-space APIs. Those tips are relevant both for kernel developers producing the APIs and for user-space programmers looking at what kernel developers are serving to them. I'll also look at some strategies that developers can pursue in order to get help with improving the designs of APIs that they are producing.

avatar for Michael Kerrisk

Michael Kerrisk

Author/Engineer, man7.org
Michael Kerrisk is the author of the highly praised book, ""The Linux Programming Interface"" (http://man7.org/tlpi/), a guide and reference for system programming on Linux and UNIX. Since 2004, he is the maintainer of the Linux man-pages project (http://www.kernel.org/doc/man-pages/).

Wednesday October 15, 2014 2:30pm - 3:20pm
Room 14