r/linux • u/gregkh Verified • Dec 01 '14
I'm Greg Kroah-Hartman, Linux kernel developer, AMA!
To get a few easy questions out of the way, here's a short biography about me any my history: https://en.wikipedia.org/wiki/Greg_Kroah-Hartman
Here's a good place to start with that should cover a lot of the basics about what I do and what my hardware / software configuration is. http://greg.kh.usesthis.com/
Also, an old reddit post: https://www.reddit.com/r/linux/comments/18j923/a_year_in_the_life_of_a_kernel_mantainer_by_greg/ explains a bit about what I do, although those numbers are a bit low from what I have been doing this past year, it gives you a good idea of the basics.
And read this one about longterm kernels for how I pick them, as I know that will come up and has been answered before: https://www.reddit.com/r/linux/comments/2i85ud/confusion_about_longterm_kernel_endoflive/
For some basic information about Linux kernel development, how we do what we do, and how to get involved, see the presentation I give all around the world: https://github.com/gregkh/kernel-development
As for hardware, here's the obligatory /r/unixporn screenshot of my laptop: http://i.imgur.com/0Qj5Rru.png
I'm also a true believer of /r/MechanicalKeyboards/ and have two Cherry Blue Filco 10-key-less keyboards that I use whenever not traveling.
Proof: http://www.reddit.com/r/linux/comments/2ny1lz/im_greg_kroahhartman_linux_kernel_developer_ama/ and https://twitter.com/gregkh/status/539439588628893696
View all comments
Show parent comment
19
u/gregkh Verified Dec 01 '14
All code is horrible, especially stuff written by anyone other than yourself.
In other words, if you didn't write it, it's usually hard to understand, so your goal should be to write it in a way that is the easiest to have others understand as you need them to do so to fix your bugs.
The Linux kernel source tree is overall, one of the most readable and easy to understand code bases out there. The huge numbers of developers contributing to it is testament to that. That being said, of course there is hairy kernel code in there, and the "joke" that there are more F1 engine designers in the world than there are people who understand the kernel's memory management system really isn't a joke. So there is always room for improvement, but always realize, if you first are looking at a file and think it is horrid, maybe it's "horrid" because the code has to be that way in order to work properly with the environment given to it (i.e. broken hardware, crazy use cases, zillions of platforms supported, etc.)