r/kernel • • Oct 16 '26

Come fight me now, AI! (pls don't...)

Post image
998 Upvotes

It's a paperback, not a hardcover, but nothing like reading a 'real' book and being forced to type everything instead of copy/paste code..
$70 AUD well spent.. me happy.


r/kernel • • Sep 18 '21

30 years of Linux and it is straight from the horse mouth. Congrats and prosper!

Post image
436 Upvotes

r/kernel • • Jul 11 '26

This is the Linux kernel. All of it

257 Upvotes

Dependency map of the Linux kernel tree (commit a635d67), rendered with D3. (link to github bellow)

What's in the graph:

  • 94.8K files, ~1.1M extracted symbols, 231.8K import/include relationships

  • Red edges: primary provider → consumer imports between subsystems

  • Blue edges: test-to-subject mappings (5,078 of them)

  • Circle packing follows the directory tree; region size ≈ file count

A few things that stood out while building it:

  • include/ (6.6K files) is the gravity well everything bends toward, followed by kernel/ and lib/.

  • The whole tree resolves to only 9 external packages — sphinx and friends, all documentation tooling. The kernel proper depends on nothing outside itself.

  • tools/ (9.3K files) forms an almost separate continent, barely coupled to the rest.

Happy to answer questions about the extraction pipeline or share higher-res views of specific subsystems (net/, mm/, drivers/)

---

here is the url of the source code of my sourcepath (the code that maps the code)
pedroanisio/sourcepath


r/kernel • • Oct 01 '25

Why Is Nobody Talking About Creating Kernels From Scratch Anymore?

234 Upvotes

I don't see anyone talking about creating a kernel from scratch, yet it's clear that the most loved kernels were created from scratch or, at least, the very first one was. Why does it seem that everyone thinks innovation in kernels or most things is impossible, and that you can't create something totally new or start from zero anymore?


r/kernel • • Apr 27 '21

"Who dares defile this ancient kernel?"

Post image
123 Upvotes

r/kernel • • Dec 12 '25

Meta replaces SELinux with eBPF

Post image
103 Upvotes

r/kernel • • Jul 03 '26

Rejected from a final-round Kernel/Systems role over a Dynamic Programming (DP) question. What coding patterns actually matter for low-level interviews?

100 Upvotes

Hi everyone,

I recently made it to the final loop for a specialized systems role at a major silicon company . The technical panel round went incredibly well, but in the final "coding bar" round, I was hit with a textbook Dynamic Programming (DP) question. I solved it through recursion and explained space and time complexity too. It was In-person white boarding coding round.But the optimized solution done using DP. So, I was ultimately rejected for "lacking strong programming skills."

Frankly, it’s frustrating. In my daily world, allocating massive, multi-dimensional DP arrays inside the kernel is a great way to cause memory exhaustion, latency spikes, or a straight-up kernel panic. We care about deterministic execution, restricted stack space, ring buffers, and bit manipulation ,not finding the edit distance of two strings.

Since I am preparing for other top-tier systems/silicon companies (Apple, NVIDIA, Amazon Robotics, Dell), I want to make sure I am prepared for the inevitable generic "coding puzzle" interviewer who doesn't know what a device driver is.

For those of you working in kernel space or hiring for low-level systems, what data structures and algorithmic patterns do you actually consider mandatory to see from a candidate?

My current checklist to review is:

  • Bit Manipulation (masks, bitwise operations, clearing/setting registers)

  • Concurrency & Synchronization (handling race conditions, producer-consumer with circular/ring buffers)

  • Linked Lists & Trees (kernel-style list_head manipulation, basic tree traversal)

  • Pointer Arithmetic & Memory Management (custom allocators, page-alignment calculations, string/buffer parsing without helper libraries)

  • General patterns like two-pointer, sliding window, Prefix Sum,recursion and sorting.

Should I suck it up and grind standard LeetCode DP/Graph patterns just to pass the cross-functional corporate interviewers, or are there specific systems-adjacent coding patterns I should focus on maximizing?

Would love to hear your thoughts or similar interview horror stories. Thanks!


r/kernel • • Nov 04 '22

Pat Gelsinger and Linus Torvalds talk Linux, open source, technology and...

Thumbnail
youtube.com
93 Upvotes

r/kernel • • Aug 26 '26

What do kernel developers do in the companies when the whole kernel is free-source?

91 Upvotes

I am very new to this domain. My question may sound too simple or trivial. Pls excuse my ignorance. I don't know much about linux kernel, and I wish to know a little of it. I am not afraid to ask simple questions.

The whole linux kernel is available for free. Why do companies hire kernel engineers? Sure, you need someone who understands and it can help you modify and compile as per your requirement, but why would you need a full time engineer for that?

What do these kernel engineers do?


r/kernel • • Jan 10 '17

Tutorial - how to be low-level programmer

89 Upvotes

https://github.com/gurugio/lowlevelprogramming-university

I made a document about how to be low-level programmer or Linux kernel programmer. My mother language is not English. There should be many wrong expressions. And many of you have good idea to be added. I welcome any feedback.


r/kernel • • Sep 18 '24

The first version of the Linux kernel - 0.01 is released to the Internet on September 17, 1991

Post image
84 Upvotes

r/kernel • • Oct 18 '25

19F wanna do research

82 Upvotes

Wanna do research and my goal is to publish a paper in a q1 journal what are the steps i should follow.

I am interested in linux and embedded systems.

Right now currently building the habit of reading papers.

There aren't even that many yt tutorials about these.

Tell me the steps i should do I will follow everything.


r/kernel • • Jul 10 '20

Linux Developers May Discuss Allowing Rust Code Within The Kernel

Thumbnail
phoronix.com
78 Upvotes

r/kernel • • Nov 06 '21

Linux x86 Program Start Up

Thumbnail
dbp-consulting.com
72 Upvotes

r/kernel • • Jun 03 '22

How fast are Linux pipes anyway?

Thumbnail
mazzo.li
71 Upvotes

r/kernel • • Oct 31 '21

Linus unleashed new shiny kernel i.e 5.15 ....go grab it ...and importantly play with it.

Post image
70 Upvotes

r/kernel • • Jul 26 '26

Built a Chrome extension that turns lore.kernel.org's raw message pages into something readable

Thumbnail
gallery
67 Upvotes

I spend a fair amount of time reading kernel patches on lore.kernel.org and got tired of squinting at one giant <pre> block with headers, body, quotes, and the thread overview all mashed together. So I built a small extension that reparses the same text lore already sends and lays it out like a normal mail client: an author card, one-click reply wired to lore's own pre-filled mailto: link, a real diff view with collapsible files, a clickable thread sidebar instead of ASCII art, and quote folding so a reply's new text isn't buried under four levels of >>>>.

It doesn't touch the underlying page. It builds a separate view next to the original <pre> blocks and hides them, with a "Raw" button to switch back instantly. No network requests, no accounts, no telemetry.

Source and install instructions: https://github.com/gahingwoo/lore-enhancer

It's load-unpacked for now (Chrome won't run a sideloaded .crx outside developer mode anyway, so packaging one wouldn't save a step). Would love feedback, especially from anyone who reads or replies to LKML or a subsystem list regularly.
Feature requests and bug reports welcome as GitHub issues.


r/kernel • • Oct 23 '24

Linus Torvalds Comments On The Russian Linux Maintainers Being Delisted

Thumbnail
phoronix.com
61 Upvotes

r/kernel • • Aug 31 '24

How can I break into kernel engineering as a new grad

61 Upvotes

I’m graduating in May 2025 in Computer Engineering. I have created kernel modules for Linux, created an os from scratch with a lot of features like (rw vhs file system, round robin scheduling, paging, kernel, drivers, terminal and system calls), I know how Linux works for the most part, I’ve worked with Linux a little in my internships through kubernetes and shell scripts. I wanted to know what it takes to land a SWE kernel engineer position at a place like redhat or Microsoft.


r/kernel • • Dec 04 '13

A thank-you to kernel developers

59 Upvotes

To all Linux Kernel Devs:

You guys are awesome. I'm constantly awed by what you guys do. Thank you for making my life, and the lives of a lot of people across the world, better.


r/kernel • • Mar 20 '22

Linux Kernel 5.17 Released!

Thumbnail
git.kernel.org
57 Upvotes

r/kernel • • May 30 '19

The Linux "copy problem" [LWN.net]

Thumbnail
lwn.net
56 Upvotes

r/kernel • • Nov 01 '25

Kernel stack use-after-free: Exploiting NVIDIA's GPU Linux drivers

Thumbnail blog.quarkslab.com
55 Upvotes

r/kernel • • Aug 18 '24

Kernel Dev as a career

54 Upvotes

Hello folks,

I am a SWE with 2yoe. This might sound weird but I feel like I am a skillful one. I like kernel dev so much. However, in my country this means almost 0% job opportunity. I need to switch jobs and I feel like I am taking risk by studying OS internals and contributing to linux instead of studying fullstack dev for example. Is there a chance I get a sponsorship for such positions and move to the US? Or I should study common trendy jobs like web, mobile ..etc? I feel pressured but I keep pursuing what I love and I am afraid this ain't the right thing to do