How the Linux kernel works
medium 40 minThe kernel is the one program that runs with full privilege.
Numbers that decide
Work out a number when the answer changes what you build.
Facts
Numbers and defaults worth knowing
| Fact | Value | Source |
|---|---|---|
| Page size | Architecture specific; 4,096 bytes on our test machine | Kernel memory docs; our capture |
| Huge pages on x86 | 2M and 1G | Kernel memory docs |
| Nice range | -20 highest to 19 lowest | sched(7) |
| cpu.max default | max 100000 | cgroup v2 docs |
| Soft lockup | Kernel loops more than 20 seconds | Lockup watchdog docs |
| Load average | R and D tasks, over 1, 5 and 15 minutes | proc_loadavg(5) |
| Uncatchable signals | SIGKILL and SIGSTOP | signal(7) |
| New mainline kernel | Every 9 to 10 weeks | kernel.org |