| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | config PROC_FS |
|---|
| 2 | 3 | bool "/proc file system support" if EXPERT |
|---|
| 3 | 4 | default y |
|---|
| .. | .. |
|---|
| 22 | 23 | /proc" or the equivalent line in /etc/fstab does the job. |
|---|
| 23 | 24 | |
|---|
| 24 | 25 | The /proc file system is explained in the file |
|---|
| 25 | | - <file:Documentation/filesystems/proc.txt> and on the proc(5) manpage |
|---|
| 26 | + <file:Documentation/filesystems/proc.rst> and on the proc(5) manpage |
|---|
| 26 | 27 | ("man 5 proc"). |
|---|
| 27 | 28 | |
|---|
| 28 | 29 | This option will enlarge your kernel by about 67 KB. Several |
|---|
| .. | .. |
|---|
| 41 | 42 | bool "/proc/vmcore support" |
|---|
| 42 | 43 | depends on PROC_FS && CRASH_DUMP |
|---|
| 43 | 44 | default y |
|---|
| 44 | | - help |
|---|
| 45 | | - Exports the dump image of crashed kernel in ELF format. |
|---|
| 45 | + help |
|---|
| 46 | + Exports the dump image of crashed kernel in ELF format. |
|---|
| 46 | 47 | |
|---|
| 47 | 48 | config PROC_VMCORE_DEVICE_DUMP |
|---|
| 48 | 49 | bool "Device Hardware/Firmware Log Collection" |
|---|
| .. | .. |
|---|
| 57 | 58 | snapshot. |
|---|
| 58 | 59 | |
|---|
| 59 | 60 | If you say Y here, the collected device dumps will be added |
|---|
| 60 | | - as ELF notes to /proc/vmcore. |
|---|
| 61 | + as ELF notes to /proc/vmcore. You can still disable device |
|---|
| 62 | + dump using the kernel command line option 'novmcoredd'. |
|---|
| 61 | 63 | |
|---|
| 62 | 64 | config PROC_SYSCTL |
|---|
| 63 | 65 | bool "Sysctl support (/proc/sys)" if EXPERT |
|---|
| 64 | 66 | depends on PROC_FS |
|---|
| 65 | 67 | select SYSCTL |
|---|
| 66 | 68 | default y |
|---|
| 67 | | - ---help--- |
|---|
| 69 | + help |
|---|
| 68 | 70 | The sysctl interface provides a means of dynamically changing |
|---|
| 69 | 71 | certain kernel parameters and variables on the fly without requiring |
|---|
| 70 | 72 | a recompile of the kernel or reboot of the system. The primary |
|---|
| 71 | 73 | interface is through /proc/sys. If you say Y here a tree of |
|---|
| 72 | 74 | modifiable sysctl entries will be generated beneath the |
|---|
| 73 | | - /proc/sys directory. They are explained in the files |
|---|
| 74 | | - in <file:Documentation/sysctl/>. Note that enabling this |
|---|
| 75 | + /proc/sys directory. They are explained in the files |
|---|
| 76 | + in <file:Documentation/admin-guide/sysctl/>. Note that enabling this |
|---|
| 75 | 77 | option will enlarge the kernel by at least 8 KB. |
|---|
| 76 | 78 | |
|---|
| 77 | 79 | As it is generally a good thing, you should say Y here unless |
|---|
| .. | .. |
|---|
| 86 | 88 | Various /proc files exist to monitor process memory utilization: |
|---|
| 87 | 89 | /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap, |
|---|
| 88 | 90 | /proc/kpagecount, and /proc/kpageflags. Disabling these |
|---|
| 89 | | - interfaces will reduce the size of the kernel by approximately 4kb. |
|---|
| 91 | + interfaces will reduce the size of the kernel by approximately 4kb. |
|---|
| 90 | 92 | |
|---|
| 91 | 93 | config PROC_CHILDREN |
|---|
| 92 | 94 | bool "Include /proc/<pid>/task/<tid>/children file" |
|---|
| 93 | 95 | default n |
|---|
| 94 | 96 | help |
|---|
| 95 | 97 | Provides a fast way to retrieve first level children pids of a task. See |
|---|
| 96 | | - <file:Documentation/filesystems/proc.txt> for more information. |
|---|
| 98 | + <file:Documentation/filesystems/proc.rst> for more information. |
|---|
| 97 | 99 | |
|---|
| 98 | 100 | Say Y if you are running any user-space software which takes benefit from |
|---|
| 99 | 101 | this interface. For example, rkt is such a piece of software. |
|---|
| 100 | 102 | |
|---|
| 101 | | -config PROC_UID |
|---|
| 102 | | - bool "Include /proc/uid/ files" |
|---|
| 103 | | - depends on PROC_FS && RT_MUTEXES |
|---|
| 104 | | - help |
|---|
| 105 | | - Provides aggregated per-uid information under /proc/uid. |
|---|
| 103 | +config PROC_PID_ARCH_STATUS |
|---|
| 104 | + def_bool n |
|---|
| 105 | + depends on PROC_FS |
|---|
| 106 | + |
|---|
| 107 | +config PROC_CPU_RESCTRL |
|---|
| 108 | + def_bool n |
|---|
| 109 | + depends on PROC_FS |
|---|