How to Begin Your Journey as a Contributor to the Linux Kernel
It is safe to assume that contributing patches and updates to the Linux kernel is something beneficial to do — regardless of what you do or where you are in your career. For some, it might just be a diversion from their lives as a full-time software developer. For others, learning how to design and apply patches can even serve as one of the ways to enter the field of computing, even if you are 16 or are as old as 60. You might have spent the past 10 years backpacking around Asia or working as a golf instructor.
In any case, learning how to contribute means you will be furthering the continued expansion of Linux, as well to that common good of the open source community.
During the latest episode of The New Stack Makers podcast hosted by Alex Williams, founder and editor-in-chief of The New Stack recorded during the Open Source Leadership Summit, Shuah Khan, a Linux Fellow, at The Linux Foundation described what it takes to get started on your journey as a contributor to the Linux kernel.
The key to being one of over 10,000 contributors to the Linux kernel project is learning to figure out what the community needs, Khan said.
“I did have a kernel background already when I entered the community and I am always motivated to learn. But you also have to derive what you learn from the community,” Khan said. “The way I learned to derive from the community was to start interacting with the community, by fixing something that you think should be fixed and looking for areas to contribute.”
Khan said when you start sending patches that she found the community to be welcoming. “They are ready to help. They will give you positive tips,” Khan said. “They might say ‘hey, this is what we will accept and this is what we can’t accept. This is what has to work for us.’ And you learn from that interaction process.”
When first attempting to contribute to the Linux kernel, Khan said some people, admittingly, just give up.
“The first few steps are hard. So, if we can help, to get through that apprehension, so we can say ‘hey, we had to go through the same thing,” Khan said. “All of the maintainers today have to listen at some point in time. So, the program should help, to get over that apprehension about ‘where do I start.”
Khan said she first did her homework before contributing by subscribing to kernel-related mailing list “to understand the dynamics,” Khan said. “The process works like this: you walk into a room. People are gathering in small groups and are talking to each other,” Khan said. “You have to break into one of these conversations. That is the process of watching the mailing lists, watching the interaction and learning from that before you start sending out a patch.”
As a means to facilitate the onboarding process, in March, The Linux Foundation initiated CommunityBridge, which is a platform it said to help and support open source developers in a number of ways, including how to raise funding, provide information about security and to establish connections with mentors.
“Mentors help to channel the mentees,” Khan said. “They will have a guide that helps them to do the first patch or how to describe the first patch and answer questions such as. How do you send it out? Whom do you send it out to?”
While Khan may now be a Linux Fellow, she too, at one point as she describes, had to figure out how to get started as well in case one forgets.
Before becoming a Linux Fellow earlier this year, Khan was a senior Linux kernel developer at Samsung’s open source group for over five years until the end of last year. Her direct involvement with the open source community did not begin until after she began working at HP as a solution engineers, a position she held from the late 1990s for over a decade. There, at HP, her first experience working directly win the Linux kernel began while “kind of working behind the scenes,” Khan said.
Khan was immediately intrigued.
“I had friends working in the Linux kernel community at the time and I really like this — I really want to be involved more in the open source community and it evolved from there,” Khan said. “And then I got involved in in an Android project, which was taking Android forward to run on the main line. That was my first contribution to the community.”
In this Edition:
1:33: When you were first starting to get interested in technology, tell us about that time
4:54: What kind of work was that?
6:01: What are some of the learning lessons that you’ve had over the years?
10:25: How do you think that in comparison to the Linux Kernel developers and then thinking about an orchestration technology such as Kubernetes?
12:03: The different kinds of developers in the Linux kernel community
17:07: How to get started as a Linux Kernel developer.
The Linux Foundation is a sponsor of The New Stack.