glfs/kernel-config
Xi Ruoyao b6d544942b
building-notes: Note how to use cgroup for limiting resource usage
We were saying "-jN means using N cores (or N threads)".  This is
completely wrong. "-jN" only tells the building system to run N jobs
simultaneously, but each job can start their own subprocesses or threads
and there is no way for the building system to know how many
subprocesses or threads a job will start.

This caused a lot of misunderstandings and encouraged users to wrongly
blame building systems.

Fix the description of -jN, and add how to use cgroup to control the
usage of CPU cores and system RAM.

On a systemd-based system, systemd is the cgroup manager and manually
operating on cgroups may puzzle systemd.  So use systemd-run for
creating and setting up cgroup.  On a sysv-based system create and set
up the cgroup manually.
2023-09-19 02:59:45 +08:00
..
general kernel-config: Add toml file for bubblewrap kernel and fix a small issue 2023-08-13 09:33:51 +08:00
gnome/applications treewide: The remaining of kernel configuration rendering 2023-07-31 21:44:38 +08:00
introduction/important building-notes: Note how to use cgroup for limiting resource usage 2023-09-19 02:59:45 +08:00
multimedia/libdriv treewide: The remaining of kernel configuration rendering 2023-07-31 21:44:38 +08:00
networking kernel-config: Fix the location of kea.toml 2023-08-21 10:08:04 +08:00
postlfs kernel-config: Remove stale reiser.toml 2023-09-06 04:14:40 +08:00
pst/printing treewide: The remaining of kernel configuration rendering 2023-07-31 21:44:38 +08:00
server/major kernel-config: Fix the location of kea.toml 2023-08-21 10:08:04 +08:00
testdata introduction: Use new kernel configuration rendering in conventions 2023-07-31 21:44:38 +08:00
x treewide: The remaining of kernel configuration rendering 2023-07-31 21:44:38 +08:00
xsoft/other treewide: The remaining of kernel configuration rendering 2023-07-31 21:44:38 +08:00
.gitignore kernel-config: Do not include kernel version in every generated file 2023-07-31 21:44:37 +08:00
kernel_version.py
kernel-config.py kernel-config: Separate toplevel menus with empty lines 2023-08-01 09:22:41 +08:00
kernel.version building-notes: Note how to use cgroup for limiting resource usage 2023-09-19 02:59:45 +08:00
Makefile kernel-config: Fix move-if-changed logic and regenerate with linux-6.4.8 2023-08-08 11:14:54 +08:00