NOTE: The event will be held in Central Daylight Time (CDT), UTC -5.

View More Details for Open Source Summit + Embedded Linux Conference North America 2020
Registration Information.
Back To Schedule
Tuesday, June 30 • 11:25am - 12:15pm
Kernel Coding the Upstream Way - Tim Bird, Sony

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
The Linux kernel has a number of unwritten idioms and design patterns that are used for optimal development and code efficiency. This talk seeks to illustrate these coding patterns, and help developers implement Linux kernel code in the "upstream way".

Tim will describe some of the kernel idioms for error handling, use of gotos, structures with embedded data and links, use of function pointers, when to use ifdefs, inlines and macros, structure initialization, and more. Each pattern will be explained, with examples, and the rationale for each pattern will be provided.

The purpose is to allow a developer to write code that is not only efficient, making best use of kernel interfaces, but also to make the code easier to maintain and easier to be contribute upstream, with less correction required for acceptance into mainline.

avatar for Tim Bird

Tim Bird

Principal Software Engineer, Sony Electronics
Tim Bird is a Principal Software Engineer for Sony Corporation, where he helps Sony use Linux and other open source software in their products. Tim is the maintainer of the Fuego test framework, and is involved in various groups in the Linux Foundation, including LF Board of Directors... Read More →

Tuesday June 30, 2020 11:25am - 12:15pm CDT
ELC Theater A