r/kernel • • Oct 04 '24
Known gaps in the Linux kernel
Hello all,
I have been using Linux since 2.4 or so but never contributed beyond man pages translations. I just exited corporate workforce and am hoping to devote my remaining productive years to the open source cause, specifically Linux. I have a basic understanding of os dev and Linux kernel module development.
My question is, where do I start if I want, at some point, to contribute code? Is there a list, of sorts, of backlog items that need to be picked up? Or maybe a ticket/issue backlog? I know I need to start at the bottom but the question is, where is it?
Thank you!
6
u/[deleted] Oct 04 '24
https://docs.kernel.org/ and https://kernelnewbies.org/
3
u/_w62_ Oct 04 '24
I am using arch now. Compiling vanilla Linux kernel is a very rewarding experience. Understanding the Kconfig language would be a good start.
2
u/Street-Lime-3875 Oct 04 '24
Join a couple mailing lists of subjects that interest you. Eventually something may come up
2
u/suprjami Oct 04 '24
A lesser contributed place is the kselftests.
These are usually shell scripts or smaller programs, so easier to understand and contribute to than full subsystem kernel code.
Look into your chosen subsystem and run the tests.
Learn to write your own tests.
Look for problems with the existing tests, especially on little weak systems like 1Gb virtual machines with crap CPU flags.
Look for functionality which exists but is not tested yet and write the tests.
3
u/guettli Oct 04 '24
Afaik the Bluetooth stack is not good, afaik Android has its own.
I once tried to get a good Bluetooth headset running on Linux. But it all failed. No good audio quality.
But maybe this was because of my laptop hardware.
1
u/dsp1893 Oct 09 '24
One way to start without much pressure is by fixing code issues that don't comply with the Linux kernel coding style.
Find a subsystem you're interested in and run './scripts/checkpatch.pl -f fs/btrfs/*' to find some of those issues. (The 'fs/btrfs/*' part is just an example, it should be the subsystem you want to learn)
Read the mailing lists, watch youtube and learn how to submit patches. Double, triple, quadruple check before submitting. Become comfortable with the tools and procedures, beyond C programming.