docs: admin-guide: sysctl: avoid using ReST :doc:foo markup

The :doc:`foo` tag is auto-generated via automarkup.py.
So, use the filename at the sources, instead of :doc:`foo`.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/12abd2290c7ebc05c89178d2556bea740bd70fac.1623824363.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Mauro Carvalho Chehab 2021-06-16 08:27:20 +02:00 committed by Jonathan Corbet
parent e499f4c297
commit 2793e19d63
2 changed files with 21 additions and 18 deletions

View File

@ -11,7 +11,7 @@ Documentation for /proc/sys/abi/
Copyright (c) 2020, Stephen Kitt Copyright (c) 2020, Stephen Kitt
For general info, see :doc:`index`. For general info, see Documentation/admin-guide/sysctl/index.rst.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------

View File

@ -9,7 +9,8 @@ Copyright (c) 1998, 1999, Rik van Riel <riel@nl.linux.org>
Copyright (c) 2009, Shen Feng<shen@cn.fujitsu.com> Copyright (c) 2009, Shen Feng<shen@cn.fujitsu.com>
For general info and legal blurb, please look in :doc:`index`. For general info and legal blurb, please look in
Documentation/admin-guide/sysctl/index.rst.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
@ -54,7 +55,7 @@ free space valid for 30 seconds.
acpi_video_flags acpi_video_flags
================ ================
See :doc:`/power/video`. This allows the video resume mode to be set, See Documentation/power/video.rst. This allows the video resume mode to be set,
in a similar fashion to the ``acpi_sleep`` kernel parameter, by in a similar fashion to the ``acpi_sleep`` kernel parameter, by
combining the following values: combining the following values:
@ -89,7 +90,7 @@ is 0x15 and the full version number is 0x234, this file will contain
the value 340 = 0x154. the value 340 = 0x154.
See the ``type_of_loader`` and ``ext_loader_type`` fields in See the ``type_of_loader`` and ``ext_loader_type`` fields in
:doc:`/x86/boot` for additional information. Documentation/x86/boot.rst for additional information.
bootloader_version (x86 only) bootloader_version (x86 only)
@ -99,7 +100,7 @@ The complete bootloader version number. In the example above, this
file will contain the value 564 = 0x234. file will contain the value 564 = 0x234.
See the ``type_of_loader`` and ``ext_loader_ver`` fields in See the ``type_of_loader`` and ``ext_loader_ver`` fields in
:doc:`/x86/boot` for additional information. Documentation/x86/boot.rst for additional information.
bpf_stats_enabled bpf_stats_enabled
@ -269,7 +270,7 @@ see the ``hostname(1)`` man page.
firmware_config firmware_config
=============== ===============
See :doc:`/driver-api/firmware/fallback-mechanisms`. See Documentation/driver-api/firmware/fallback-mechanisms.rst.
The entries in this directory allow the firmware loader helper The entries in this directory allow the firmware loader helper
fallback to be controlled: fallback to be controlled:
@ -297,7 +298,7 @@ crashes and outputting them to a serial console.
ftrace_enabled, stack_tracer_enabled ftrace_enabled, stack_tracer_enabled
==================================== ====================================
See :doc:`/trace/ftrace`. See Documentation/trace/ftrace.rst.
hardlockup_all_cpu_backtrace hardlockup_all_cpu_backtrace
@ -325,7 +326,7 @@ when a hard lockup is detected.
1 Panic on hard lockup. 1 Panic on hard lockup.
= =========================== = ===========================
See :doc:`/admin-guide/lockup-watchdogs` for more information. See Documentation/admin-guide/lockup-watchdogs.rst for more information.
This can also be set using the nmi_watchdog kernel parameter. This can also be set using the nmi_watchdog kernel parameter.
@ -586,7 +587,8 @@ in a KVM virtual machine. This default can be overridden by adding::
nmi_watchdog=1 nmi_watchdog=1
to the guest kernel command line (see :doc:`/admin-guide/kernel-parameters`). to the guest kernel command line (see
Documentation/admin-guide/kernel-parameters.rst).
numa_balancing numa_balancing
@ -1071,7 +1073,7 @@ that support this feature.
real-root-dev real-root-dev
============= =============
See :doc:`/admin-guide/initrd`. See Documentation/admin-guide/initrd.rst.
reboot-cmd (SPARC only) reboot-cmd (SPARC only)
@ -1158,7 +1160,7 @@ will take effect.
seccomp seccomp
======= =======
See :doc:`/userspace-api/seccomp_filter`. See Documentation/userspace-api/seccomp_filter.rst.
sg-big-buff sg-big-buff
@ -1329,7 +1331,7 @@ the boot PROM.
sysrq sysrq
===== =====
See :doc:`/admin-guide/sysrq`. See Documentation/admin-guide/sysrq.rst.
tainted tainted
@ -1359,15 +1361,16 @@ ORed together. The letters are seen in "Tainted" line of Oops reports.
131072 `(T)` The kernel was built with the struct randomization plugin 131072 `(T)` The kernel was built with the struct randomization plugin
====== ===== ============================================================== ====== ===== ==============================================================
See :doc:`/admin-guide/tainted-kernels` for more information. See Documentation/admin-guide/tainted-kernels.rst for more information.
Note: Note:
writes to this sysctl interface will fail with ``EINVAL`` if the kernel is writes to this sysctl interface will fail with ``EINVAL`` if the kernel is
booted with the command line option ``panic_on_taint=<bitmask>,nousertaint`` booted with the command line option ``panic_on_taint=<bitmask>,nousertaint``
and any of the ORed together values being written to ``tainted`` match with and any of the ORed together values being written to ``tainted`` match with
the bitmask declared on panic_on_taint. the bitmask declared on panic_on_taint.
See :doc:`/admin-guide/kernel-parameters` for more details on that particular See Documentation/admin-guide/kernel-parameters.rst for more details on
kernel command line option and its optional ``nousertaint`` switch. that particular kernel command line option and its optional
``nousertaint`` switch.
threads-max threads-max
=========== ===========
@ -1391,7 +1394,7 @@ If a value outside of this range is written to ``threads-max`` an
traceoff_on_warning traceoff_on_warning
=================== ===================
When set, disables tracing (see :doc:`/trace/ftrace`) when a When set, disables tracing (see Documentation/trace/ftrace.rst) when a
``WARN()`` is hit. ``WARN()`` is hit.
@ -1411,8 +1414,8 @@ will send them to printk() again.
This only works if the kernel was booted with ``tp_printk`` enabled. This only works if the kernel was booted with ``tp_printk`` enabled.
See :doc:`/admin-guide/kernel-parameters` and See Documentation/admin-guide/kernel-parameters.rst and
:doc:`/trace/boottime-trace`. Documentation/trace/boottime-trace.rst.
.. _unaligned-dump-stack: .. _unaligned-dump-stack: