r/linux • 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

1.9k Upvotes

1.0k comments sorted by

View all comments

4

u/seekingsofia Dec 01 '14

Tinification of the Linux kernel. What parts of the kernel need sharing or shaving? Last I built an allnoconfig kernel it was about 500K in size.

Do you still follow and/or participate in development of any userspace software other than those started by you?

When reading hardware specifications... how do you persist?

And just wanted to say that bti was one of the first C programs I tried to really understand by reading the code, because it was real-world code, small, simple and easy to look at, thanks.

13

u/gregkh Verified Dec 01 '14

I don't know what parts need shaving or removing, it all depends on your use case as to what you feel is needed or not (i.e. I might really care about a specific subsystem for my hardware, while you don't have it at all.)

People (i.e. Intel) is working on making the kernel able to be configured to fit into smaller places, and I think that's a really good goal, as long as you don't sacrifice other issues (long-term maintenance, configurability, code understanding, forcing others to do your work, etc.)

It's sad to me that Intel is forced to do this work, you would have thought that other companies that rely more on Linux being "tiny" would be doing it, but hey, who am I to judge...

I do follow and participate in some userspace programs, I have a few patches in Libreoffice, and those developers do great work. Same for x.org, but my time these days has been filled with kernel things so my involvement there is all but non-existent now.

Reading hardware specs is an art form, trying to tease out what an engineer wrote to a tech writer on the back of a napkin and translated it from their native language into English to try to describe the correct register mapping of a device is a skill that I am sad to say I have had to learn over the years. It's hard, and I pity anyone else who has to do it.

Glad you like bti, it was a fun hack that is enjoyable to work on at times.

2

u/weisenzahn Dec 03 '14

And just wanted to say that bti was one of the first C programs I tried to really understand by reading the code, because it was real-world code, small, simple and easy to look at, thanks.

For reference: https://github.com/gregkh/bti