mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
sysv: Mount cgroup fs for memory pressure information early
Prepare for systemd-254 update. See #5293 for details.
This commit is contained in:
@@ -22,17 +22,18 @@
|
||||
<screen revision="sysv"><userinput>cat > /etc/fstab << "EOF"
|
||||
<literal># Begin /etc/fstab
|
||||
|
||||
# file system mount-point type options dump fsck
|
||||
# order
|
||||
# file system mount-point type options dump fsck
|
||||
# order
|
||||
|
||||
/dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1
|
||||
/dev/<replaceable><yyy></replaceable> swap swap pri=1 0 0
|
||||
proc /proc proc nosuid,noexec,nodev 0 0
|
||||
sysfs /sys sysfs nosuid,noexec,nodev 0 0
|
||||
devpts /dev/pts devpts gid=5,mode=620 0 0
|
||||
tmpfs /run tmpfs defaults 0 0
|
||||
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
|
||||
tmpfs /dev/shm tmpfs nosuid,nodev 0 0
|
||||
/dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1
|
||||
/dev/<replaceable><yyy></replaceable> swap swap pri=1 0 0
|
||||
proc /proc proc nosuid,noexec,nodev 0 0
|
||||
sysfs /sys sysfs nosuid,noexec,nodev 0 0
|
||||
devpts /dev/pts devpts gid=5,mode=620 0 0
|
||||
tmpfs /run tmpfs defaults 0 0
|
||||
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
|
||||
tmpfs /dev/shm tmpfs nosuid,nodev 0 0
|
||||
cgroup2 /sys/fs/cgroup cgroup2 nosuid,noexec,nodev 0 0
|
||||
|
||||
# End /etc/fstab</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
@@ -135,7 +135,12 @@
|
||||
[*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
|
||||
General setup --->
|
||||
[ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
|
||||
CPU/Task time and stats accounting --->
|
||||
[*] Pressure stall information tracking [CONFIG_PSI]
|
||||
[ ] Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED]
|
||||
< > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
|
||||
[*] Control Group support [CONFIG_CGROUPS] --->
|
||||
[*] Memory controller [CONFIG_MEMCG]
|
||||
[ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
|
||||
General architecture-dependent options --->
|
||||
[*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
|
||||
|
||||
Reference in New Issue
Block a user