The InformationWeek -- Blogs
Open Source Blog

Topics:   Open Source

  • Email this page E-mail this page
  • Print this page Print this page
  • Bookmark and Share
  • icon

Wanna Be A Kernel Guy? Here's How


Posted by Serdar Yegulalp, Aug 13, 2008 11:49 AM

Contributing code to the Linux kernel probably seems about as easy as, say, reading the entire Buddhist canon in its original Pali. Now there's a how-to guide, written in plain English, about how exactly to go about being a "kernel guy."

Written by Jon Corbet (himself a kernel contributor) and entitled "How to Participate in the Linux Community", the guide's been offered under the aegis of the Linux Foundation's Linux Developer Network. It's not a programming guide, since that subject is covered in far greater detail by any number of other books and tutorials. Instead, it's about the etiquette and protocol of kernel submissions -- something that's often just as hard, if not harder, than the code itself.

The guide steps a prospective kernel developer/contributor through the process of not just submitting a prospective kernel change but making sure that all the ducks are in a row long before. There's a lot of emphasis on figuring out exactly what problem you are trying to solve before you write a single line of code, the better to avoid wasted effort that might only have to be scrapped and restarted later on.

There's been a lot of talk about how tough it is to get changes accepted into the kernel mainline -- e.g., the (to put it mildly) rough-and-tumble attitude that folks take on the kernel mailing list. "Don't waste our time" and "This won't work the way you want it to" are two common criticismS levied against potential contributors. One example, quoted from the guide:

... some years ago, developers working with Linux audio sought a way to run applications without dropouts or other artifacts caused by excessive latency in the system. The solution they arrived at was a kernel module intended to hook into the Linux Security Module (LSM) framework; this module could be configured to give specific applications access to the realtime scheduler. This module was implemented and sent to the linux-kernel mailing list, where it immediately ran into problems.

To the audio developers, this security module was sufficient to solve their immediate problem. To the wider kernel community, though, it was seen as a misuse of the LSM framework (which is not intended to confer privileges onto processes which they would not otherwise have) and a risk to system stability. Their preferred solutions involved realtime scheduling access via the rlimit mechanism for the short term, and ongoing latency reduction work in the long term.

The audio community, however, could not see past the particular solution they had implemented; they were unwilling to accept alternatives. The resulting disagreement left those developers feeling disillusioned with the entire kernel development process ...

The most important thing I'm gleaning from this anecdote is how the kernel folks and the audio developers were seeing the whole thing from two entirely different perspectives. The audio folks were worried about their corner of the world; the kernel staff had to worry about everything. It's not easy for people focused on one problem alone to keep that in mind, but that's the point of documentation like this: to give a broader perspective on a process that's normally only seen through one keyhole at a time.

« Big Challenges In Small IT Shops | Main | NBC Online Olympics Video Player Shuts Out Linux, Some Macs »



Sign Up Now
For InformationWeek News Alerts




This is a public forum. United Business Media and its affiliates are not responsible for and do not control what is posted herein. United Business Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of United Business Media LLC and may be edited and republished in print or electronic format as outlined in United Business Media's Terms of Service.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.




 

  1. Actors, Messages and Low Lock Contention for Java
  2. Of Course The Transformers are Multicore with SMT technology
  3. Find John Fast!!


Join The InformationWeek Group On LinkedIn


                           


  1. Why I'm Dropping Bing For Google
  2. Nokia's N97 Gets Massive Firmware Update Promising Bug Fixes
  3. Video: Talking About Firefox 3.5, Apple's Snow Leopard, The Return Of Steve Jobs, & More
  4. Bing Is Worth A Fling
  5. So Long, And Thanks, Google Earth, For All The Fish


  1. Review: Apple's Speedy iPhone 3GS
  2. Tech Innovation USA: From Resilient Networks To Self-Scheduling Devices
  3. How Government's Driving Cloud Computing Ahead
  4. Government As Early Adopter
  5. InformationWeek Analytics: Data Loss Prevention
  6. Strategic Security: Web Single Sign-On

 

  Ars Technica
Boing Boing
Channel 9 Forums
CRN Blogs
Dr.Dobb's Portal: Blogs
Engadget
Gizmodo
GrokLaw
  Lifehacker
Schneier on Security
Slashdot
TechCrunch
Techdirt
Techmeme
Valleywag

  DECEMBER 2008
NOVEMBER 2008
OCTOBER 2008
SEPTEMBER 2008
AUGUST 2008
JULY 2008
JUNE 2008
MAY 2008
  APRIL 2008
MARCH 2008
FEBRUARY 2008
JANUARY 2008
DECEMBER 2007
NOVEMBER 2007
OCTOBER 2007
SEPTEMBER 2007