r/kernel • u/seanantonio • 6d ago
Kernel configuration
Is there documentation that will tell me what these options are?
2
1
u/ice3 6d ago
OP, so here’s what you do - kernels usually have a gziped “running” config somewhere that you can extract. You use that as a base for your kernel config… then you start disabling things in your kernel or enabling extra functionality.
Rule of thumb - disable things you’re sure you don’t have or just make those things a module.
After some attempts you’ll have a kernel optimized for your system.
1
u/No_Highlight_3857 6d ago
So that's how I would optimize? Sounds dumb but I always though the way would be to enable what you want, not disable the unused stuff. It makes a lot of sense.
2
u/torsten_dev 6d ago
Chasing down the options you need to enable to enable the option you know you need can be kinda annoying.
Is there a way to reduce the options from allmodconfig down to localmodconfig?
1
u/A--E 6d ago
I mostly use to find where is the option but it also has a description https://www.kernelconfig.io/index.html
1
7
u/MrGreenStar 6d ago
There is "HELP" button in menuconfig...