Commit 53b95375 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

docs: sysctl: convert to ReST



Rename the /proc/sys/ documentation files to ReST, using the
README file as a template for an index.rst, adding the other
files there via TOC markup.

Despite being written on different times with different
styles, try to make them somewhat coherent with a similar
look and feel, ensuring that they'll look nice as both
raw text file and as via the html output produced by the
Sphinx build system.

At its new index.rst, let's add a :orphan: while this is not linked to
the main index.rst file, in order to avoid build warnings.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 6baec315
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3144,7 +3144,7 @@
	numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.
			'node', 'default' can be specified
			This can be set from sysctl after boot.
			See Documentation/sysctl/vm.txt for details.
			See Documentation/sysctl/vm.rst for details.

	ohci1394_dma=early	[HW] enable debugging via the ohci1394 driver.
			See Documentation/debugging-via-ohci1394.txt for more
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ processes address space and many other cool things.
Linux memory management is a complex system with many configurable
settings. Most of these settings are available via ``/proc``
filesystem and can be quired and adjusted using ``sysctl``. These APIs
are described in Documentation/sysctl/vm.txt and in `man 5 proc`_.
are described in Documentation/sysctl/vm.rst and in `man 5 proc`_.

.. _man 5 proc: http://man7.org/linux/man-pages/man5/proc.5.html

+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ MADV_UNMERGEABLE is applied to a range which was never MADV_MERGEABLE.

If a region of memory must be split into at least one new MADV_MERGEABLE
or MADV_UNMERGEABLE region, the madvise may return ENOMEM if the process
will exceed ``vm.max_map_count`` (see Documentation/sysctl/vm.txt).
will exceed ``vm.max_map_count`` (see Documentation/sysctl/vm.rst).

Like other madvise calls, they are intended for use on mapped areas of
the user address space: they will report ENOMEM if the specified range
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ Kernel Pointers

For printing kernel pointers which should be hidden from unprivileged
users. The behaviour of %pK depends on the kptr_restrict sysctl - see
Documentation/sysctl/kernel.txt for more details.
Documentation/sysctl/kernel.rst for more details.

Unmodified Addresses
--------------------
+1 −1
Original line number Diff line number Diff line
@@ -2287,7 +2287,7 @@ addr_scope_policy - INTEGER


/proc/sys/net/core/*
	Please see: Documentation/sysctl/net.txt for descriptions of these entries.
	Please see: Documentation/sysctl/net.rst for descriptions of these entries.


/proc/sys/net/unix/*
Loading