this post was submitted on 04 May 2026
58 points (100.0% liked)

Linux

17408 readers
3 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

Up until the early 2000s I used to compile my own kernel, carefully selecting only the options that I needed.

Then I realised that I wasn't saving memory, because almost everything was a module anyway.

Is there any actual benefit to using a custom kernel on consumer hardware that's supported by the stock kernels?

you are viewing a single comment's thread
view the rest of the comments
[–] Kazumara@discuss.tchncs.de 16 points 5 days ago* (last edited 5 days ago) (3 children)

Primarily if you want some functionality that isn't mainlined, or isn't released as stable yet.

Like hibernate in lockdown mode, or out of tree drivers, or maybe something new coming up in the emulation support world like NTSync, though I think that last example was mainlined by now.

I think that last example was mainlined by now.

Yeah NTSync is in kernel 7.0x

[–] henfredemars@infosec.pub 5 points 5 days ago

Woah, I didn’t know they were working on those features. Thanks for sharing!

[–] frongt@lemmy.zip 0 points 5 days ago (1 children)

Drivers are usually loaded as modules, aren't they?

[–] Kazumara@discuss.tchncs.de 2 points 5 days ago

I'm not that certain to be honest. But the following is my best understanding:

  • Most drivers are included directly in the kernel source.

  • They can be compiled built-in directly to the kernel binary, or they can be compiled as loadable kernel modules. I don't know how the proportions between the two options look, but at least the essential drivers (chipsets, filesystems, etc) should be compiled in to allow the boot to progress enough that module loading works.

  • There are some, like the Nvidia proprietary GPU driver, that are provided only in binary form as loadable kernel modules.

  • I also understand that a lot of smartphone drivers are developed out-of-tree against older branches of the Linux kernel. Even those that are made public / open sourced, end up living outside the mainline kernel, and the devs of third party android builds have to cherry pick them into their kernel source.

I think at least the last group should count as an example of a reason of the type for what OP was looking for.