Linux kernel configuration

2025-01-30 (Updated 2025-01-31)

Table of Contents:

I have done this way too many times: randomly traverse make nconfig and try to check boxes or disable stuff that seems fit.

I don't want to repeat this anymore, so I am recording the steps in this blog.

I'm using a thinkpad for music production, so latency is preferred over throughput.

At the time of writing, the computer spec is shown below:

OS: Gentoo 2.17 x86_64
Kernel: Linux 6.13.0-gentoo-ryan-thinkpad
CPU: AMD Ryzen 7 PRO 4750U (16) @ 1.70 GHz
GPU: AMD Radeon Vega Series / Radeon Vega Mobile Series [Integrated]
Memory: 5.81 GiB / 14.84 GiB (39%)
Swap: 55.04 MiB / 15.98 GiB (0%)

General Setup

Processor Type and Features

Power management and ACPI options

General architecture-dependent options

Enable loadable module support

Memory Management options

This step enables compressed swap, and is only required for OS with swap enabled

Networking Support

Device Drivers

Security options

Gentoo Linux