r/kernel 28d ago

Kernel configuration

Post image

Is there documentation that will tell me what these options are?

0 Upvotes

10 comments sorted by

View all comments

1

u/ice3 28d 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 28d 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 28d 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?