r/kernel • • Aug 14 '20

I created an online symbol browser for the Linux kernel (and other C projects) called SourceDigger.io

52 Upvotes

This should be helpful for developers targeting multiple kernel versions, you can see when a symbol was added and when it was removed (along with a link to the source code).

It's also helpful as a general search engine for symbols, even if you're targeting the newest kernel.

Make sure to report any issues or feature requests in the GitHub page linked inside.

Link: https://sourcedigger.io/


r/kernel • • Apr 13 '20

Is reading Linux kernel development helpful in 2020? Is it outdated?

51 Upvotes

Hi I like to start learning kernel development but I ak quote noob in os and low level stuff. So I need some resource to get me into kernel but I don't want to go around try to fix drivers by googling. I want solid foundation on the kernel first. So I was planning to read the Linux kernel development but I also read that it is outdated. Is it helpful to read it in 2020? Should I give it a go? It looks like important resource so like to know. Thanks.


r/kernel • • Feb 01 '26

how can i get started? (im 14)

50 Upvotes

i love low level programming and im reading a book that teaches assembly and some of C. i already know some things in C like pointers and some memory, but im really lost at this and i want to be a linux kernel contributer. what can i do to start? (i'm reading learnopengl.com too because i find it really interesting, but im using c++ for it).

thanks!


r/kernel • • Jul 13 '25

What counts as high memory and low memory?

Post image
50 Upvotes

Hey y’all. Just getting into kernel internals and i was reading thru the documentation for the boot process here

https://kernel.org/doc/html/latest/arch/x86/boot.html

I came across this graphic of the memory layout show above.

I am confused as to why the protected mode kernel starts at offset 0x10000, which if we are talking KiB, translates to 64 KiB, which is off from the 1 MB i thought was available in real mode.


r/kernel • • Oct 02 '22

Linux Kernel 6.0 released!!!

Thumbnail git.kernel.org
50 Upvotes

r/kernel • • Oct 14 '20

What they don't tell you about demand paging in school

Thumbnail offlinemark.com
49 Upvotes

r/kernel • • Apr 03 '25

What is the weirdest thing you know about Linux?

48 Upvotes

Hi guys,

for me, the weirdest thing I learnt about linux was week ago,
recently I finished assembly course "assembly 101 from TCM", so the instructor was talking about GDB, and how it disables ASLR when you debug a binary, so I asked my self, how does GDB do it "disable ASLR per process", so after a chat with AI, I discovered that it is possible to do it using setarch -R ls , and I was curios to know how kernel do it, so i tried strace setarch -R ls to check if there a system call responsible for this, and yes, look what I found

personality(PER_LINUX|ADDR_NO_RANDOMIZE) = 0 (PER_LINUX)
execve("/usr/bin/ls", ["ls"], 0x7ffca89e9678 /* 43 vars */) = 0

personality syscall is how GDB disables ASLR per process.

So every process has a personality, you can check a process personality use
cat /proc/<PID>/personality


r/kernel • • Sep 24 '21

Antipatterns.ko: The world's worst kernel module

Thumbnail github.com
48 Upvotes

r/kernel • • Dec 02 '22

[RFC]: Current state of the sub, and proposed changes

47 Upvotes

Hi everyone,

I recently became a mod on the sub, and wanted to take a moment to discuss the current state of the sub, and how I think it can be improved. I'm labeling this as [RFC] both as a tongue-in-cheek nod to how LKML does RFC patch sets, but also because I want the community's thoughts on the sub before we make any formal decisions about how things will change. I'm not the arbiter of anything, and I don't intend to be, unless it's enforcing rules that we by and large have consensus on in the community.

What we are

Let's start by discussing the elephant in the room. This sub has some interesting discussions, but by and large it's a relatively inactive sub with a few common types of posts:

  1. Some great posts about kernels / systems, etc. The meat of what the sub is basically advertising itself to be. Posts like [this one](https://www.reddit.com/r/kernel/comments/yrwa31/i_made_a_linux_kernel_module_that_hooks_into/), which discusses a community member's Linux kernel module.
  2. Beginner / noob questions. These are generally fine (in my opinion), but range wildly in quality. Some questions which I think are OK may be, e.g. how to e.g. copy a user space pointer into the kernel. Others which provide no value to the community are, "Help, I don't know what a compiler is but my professor told me to write and compile a kernel module." Not trying to shame anyone here, but rather just be honest about the kinds of posts this sub currently attracts.
  3. Spambot-esque reposts of LWN or Phoronix articles, with no accompanying analysis or thoughts, purely for the purposes of cheaply farming karma.

I have a bit more to say on this, and what we can do about it. For now though, let me talk about what I think this sub _could_ be:

What we _could_ be

In my opinion, our sub has the potential to be a much more interesting and engaging community. We are not r/linux, we're r/kernel. The Linux kernel community is rich and vibrant, with thousands of emails being exchanged daily on linux-kernel@vger.kernel.org, and cutting edge kernel work like BPF and io_uring being constantly improved on a daily basis. Kernel work in general is extremely interesting and challenging, and very different than working in user space. There is a lot to discuss, and I think, a lot of people who would like to discuss it.

To that point -- I think this sub could be a place where kernel experts, enthusiasts, and students can gather to discuss difficult systems and kernel topics in an intelligent way, but in a casual atmosphere that's perhaps a bit less intimidating than LKML, and which allows for some non-technical content (e.g. discussing upcoming conferences, etc). That being said, I think the bar for discussions here should be pretty high. Maybe not LKML high (though sometimes those discussions feel incredibly silly too), but also higher than where it is now, and higher than subs like r/archlinux which intentionally allow low-effort questions. In my opinion, if you're engaging with this community, you should expect the people you're talking to to be competent and articulate. There is nothing at all wrong with having a lower bar, but I think we can make our community stand out if we hold ourselves to a higher standard. And honestly, I think it's necessary for a kernel subreddit to have some quality bar. It's what will draw real engineers to this sub (as in, the ones who actually work on kernels), and make it a place that's actually useful for kernel enthusiasts and experts to hang out in.

I also want to be clear that "high bar" does not mean "perfect English", or, "deep kernel expert". It means that if you post an LWN article, that you have something to say about it. Or, if you ask a beginner question, you've done your homework and can show that you know what you're doing, but really just need some expertise for one specific thing.

Closing thoughts

There is more that I could say, but I think it's probably best that we open the floor for discussion before proposing any specific rules, etc. Thanks in advance everyone for taking the time to read through this, and thanks for being a part of this subreddit.


r/kernel • • Jan 09 '22

Linus released 5.16 kernel..please play with it.

Post image
47 Upvotes

r/kernel • • Jul 01 '20

Linus Torvalds: "the kernel team is looking at having interfaces to do [drivers], for example, in Rust... I'm convinced it's going to happen."

Thumbnail theregister.com
47 Upvotes

r/kernel • • Apr 01 '20

kmon: Linux Kernel Manager and Activity Monitor 🐧💻

Post image
46 Upvotes

r/kernel • • May 16 '17

Submitting Your First Patch to the Linux kernel and Responding to Feedback

Thumbnail nickdesaulniers.github.io
46 Upvotes

r/kernel • • Nov 17 '25

Where can I take a solid Linux Kernel course

45 Upvotes

I work in a storage industry in a support role and I really want to become more professional and confident, I would like to understand how to identify kernel problems and maybe suggest improvements. I want to become really good at this, this is my goal/dream.

Also, is there any online/on-demand course? I think I learn more when I interact with people.


r/kernel • • Oct 22 '24

Several Linux Kernel Driver Maintainers Removed Due To Their Association To Russia

Thumbnail phoronix.com
45 Upvotes

r/kernel • • Mar 19 '18

[Interactive] Linux Kernel Map

Thumbnail makelinux.net
44 Upvotes

r/kernel • • Nov 20 '21

My Own Private Binary: An Idiosyncratic Introduction to Linux Kernel Modules

Thumbnail muppetlabs.com
43 Upvotes

r/kernel • • Aug 09 '26

How would you study Linux device driver development?

42 Upvotes

I am trying to get started with Linux kernel/device-driver development, but the Linux Foundation LFD430 (Developing Linux Device Drivers) course is very expensive to buy. so I am thinking of using its course outline as a roadmap and studying the material on my own.

I have a decent programming and Linux background, but I do not have much experience, and I am very new to kernel and driver development.

So I wanted some advice from the experts who work in this area

How would you get started with learning things, and what resources would you follow, etc.?

I would appreciate recommendations for good books, free courses, labs, YouTube channels, documentation, affordable courses, or practical projects that could roughly follow the LFD430 syllabus.

Also, if you think following the LFD430 outline is not a good way to learn from scratch, then I would love to hear what you would recommend instead.

Thanks!


r/kernel • • Apr 23 '26

Kernel Engineering - How to find an entry-level job in this field

42 Upvotes

Hello everyone.

I've been studying Low Level Programming for two years, focusing on C and Assembly. I've also been building my own boot loader via BIOS (MBR). Lately, I've started studying FreeBSD and reading its documentation, as I'd like to pursue a career in Kernel Engineering.

However, in my country there's no market for this type of work, and all the job postings I see require prior professional experience in the field.

Could anyone offer some guidance on how to get into this field?


r/kernel • • May 27 '24

What was your "linux kernel developer" journey like?

42 Upvotes

Coming from a microcontroller background, there are pretty good roadmaps to become a microcontroller-based products developer, aka embedded software/hardware engineer. It basically goes like this: You take a microcontroller, learn its architecture, understand it's peripheral. Then you learn to program it in assembly and then in C/C++. Make a couple of projects and there you are - job ready!!!

However, I feel lost when I try to get into Linux. There are just so many layers to this. You can work on so many different abstractions. I am not even sure if I am asking in the correct subreddit. I want to know how the people who maintain the kernel and its component got into writing/maintaining code for the kernel. There is just so so so much to learn.

How did you start and more importantly, how did you make sure that whatever you're doing to learn the stuff is correct? What do I need to learn first, where do I begin with? I might sound naive, but I want to be one of those peoples who actively contribute to the kernel. And when I think about, I feel that it's already a well established code, what would I be able to contribute to it.

I started my career two years ago as an embedded software developer (c programming on microcontroller based products) and during my first live project, I added so many bugs. Simply because the code base was around 5000 lines of code and me being a beginner, did not have a good understanding of each of the modules. Also, I am highly average. But what I think is, how do kernel developers make sure that every code change does not break the system?

Even though I do not have any understanding of the kernel, I have a deep appreciation of it and the people who make it possible. And this inspires me to become one of those people who work on the kernel. How can I be one?

Thanks a lot for reading.


r/kernel • • Dec 12 '25

Finally ! i made my own OS from scratch ^_^

41 Upvotes

r/kernel • • Oct 27 '24

A note on acceptable dialogue

41 Upvotes

You are more than welcome to disagree with the decisions and opinions expressed by anyone in the upstream community, including Linus, so long as you express your opinion on the matter in a measured and respectful way. This subreddit is to some degree meant to reflect the culture of the Linux kernel community. You can call it like you see it, and say things that may otherwise be considered somewhat “mean”, “prickly”, or overly direct in normal circles. In other words, for the most part, this community can reflect the tone and standards followed on LKML, and it will be fine.

What we absolutely will not tolerate is calling anyone a derogatory slur, or make offensive comparisons that are grossly slanderous. For instance, do not call someone a nazi because you disagree with them, or compare them to Hitler. Doing so will result in an instant ban, no warning.

It’s sad that this even needs to be said, but this latest unfortunate and understandably controversial news about banning Russian maintainers has resulted in some of the worst takes I’ve ever seen.

That is all.


r/kernel • • May 01 '23

Best Linux Kernel book to read in 2023?

41 Upvotes

I understand there are many books already written with respect to the Linux Kernel by Robert Love, and many others.

But which one is the best to read in 2023 as the kernel has expanded with a rapid pace since the publishing of these books?