r/linux • Verified • Apr 08 '20

AMA I'm Greg Kroah-Hartman, Linux kernel developer, AMA again!

To refresh everyone's memory, I did this 5 years ago [here] (https://www.reddit.com/r/linux/comments/2ny1lz/im_greg_kroahhartman_linux_kernel_developer_ama/) and lots of those answers there are still the same today, so try to ask new ones this time around.

To get the basics out of the way, this post describes my normal workflow that I use day to day as a Linux kernel maintainer and reviewer of way too many patches.

Along with mutt and vim and git, software tools I use every day are Chrome and Thunderbird (for some email accounts that mutt doesn't work well for) and the excellent vgrep for code searching.

For hardware I still rely on Filco 10-key-less keyboards for everyday use, along with a new Logitech bluetooth trackball finally replacing my decades-old wired one. My main machine is a few years old Dell XPS 13 laptop, attached when at home to an external monitor with a thunderbolt hub and I rely on a big, beefy build server in "the cloud" for testing stable kernel patch submissions.

For a distro I use Arch on my laptop and for some tiny cloud instances I run and manage for some minor tasks. My build server runs Fedora and I have help maintaining that at times as I am a horrible sysadmin. For a desktop environment I use Gnome, and here's a picture of my [normal desktop] (https://i.imgur.com/g412C1E.png) while working on reviewing and modifying kernel code.

With that out of the way, ask me your Linux kernel development questions or anything else!

Edit - Thanks everyone, after 2 weeks of this being open, I think it's time to close it down for now. It's been fun, and remember, go update your kernel!

2.2k Upvotes

1.0k comments sorted by

View all comments

150

u/INITMalcanis Apr 08 '20

The dev-genie grants you one (1) wish applicable to the Linux kernel. What improvement, addition or fix do you wish for?

309

u/gregkh Verified Apr 08 '20

For you to contribute to it.

281

u/INITMalcanis Apr 08 '20

The genie points out that the wish is constrained to improve the kernel...

179

u/gregkh Verified Apr 08 '20

Don't sell yourself short, we can always use your help.

62

u/hey01 Apr 08 '20

Even if I remember Linus saying the kernel has enough developers and that if you are looking to contribute to the kernel, it'd be more useful to free software to help other projects who are in need of developers?

So does the kernel need more developers?

98

u/gregkh Verified Apr 08 '20

I never turn away patches. That being said, there are many other open source projects that really could use developers, go help them out, your ability to make a larger difference is much easier there.

0

u/[deleted] Apr 08 '20

[deleted]

100

u/gregkh Verified Apr 08 '20

It is, and usually it is "no, because of X, Y, and Z, which if you fix up, will then make it acceptable."

29

u/not_perfect_yet Apr 08 '20

I was going to ask how to start, then I used the search function and noticed the maintainer for that particular part of the documentation is you:

https://www.kernel.org/doc/html/v4.16/process/howto.html

Well, Ok. I go to https://kernelnewbies.org/ and the IRC. The MOTD has two links, one to an article that's titled "what have you tried", which is obviously more directed at people with a problem and one to an archived mail:

https://lists.kernelnewbies.org/pipermail/kernelnewbies/2017-April/017765.html

Which is a short introduction how to test changes... made by someone else.

Maybe this is a dumb question, but as far as I can see the introduction pages don't really answer it in an easy to find way:

What do you need help with?

I mean I feel like I've already gone down the rabbit hole for a good bit and I don't even know what I'm looking for if that makes sense. I have no problem researching how something works on my own for a good bit, that is until I understand it. But I would need some direction/motivation beyond "oh here is a giant dump of links/docs on everything":

http://www.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html

Like, I am just a regular guy who can code a bit. I suppose I could learn how to contribute, but right now my system works fine and the work is done by "somebody else". I can see how I'm "part of the problem" that way.

There is no real ToDo, I think? Even https://bugzilla.kernel.org/ needs a search term...

I know handholding isn't exactly a favorite among highly skilled people, but https://kernelnewbies.org/ that's not really getting me to a point where I know what to do, how to help or how to learn skills that would eventually be helpful. So I guess the original question is still valid:

How do I start?

→ More replies (4)
→ More replies (12)