mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
docs/vm: move numa_memory_policy.rst to Documentation/admin-guide/mm
The document describes userspace API and as such it belongs to Documentation/admin-guide/mm Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
committed by
Jonathan Corbet
parent
1174bd849c
commit
3ecf53e41a
@@ -220,7 +220,7 @@ memory policy mode--bind, preferred, local or interleave--may be used. The
|
|||||||
resulting effect on persistent huge page allocation is as follows:
|
resulting effect on persistent huge page allocation is as follows:
|
||||||
|
|
||||||
#. Regardless of mempolicy mode [see
|
#. Regardless of mempolicy mode [see
|
||||||
:ref:`Documentation/vm/numa_memory_policy.rst <numa_memory_policy>`],
|
:ref:`Documentation/admin-guide/mm/numa_memory_policy.rst <numa_memory_policy>`],
|
||||||
persistent huge pages will be distributed across the node or nodes
|
persistent huge pages will be distributed across the node or nodes
|
||||||
specified in the mempolicy as if "interleave" had been specified.
|
specified in the mempolicy as if "interleave" had been specified.
|
||||||
However, if a node in the policy does not contain sufficient contiguous
|
However, if a node in the policy does not contain sufficient contiguous
|
||||||
|
@@ -24,6 +24,7 @@ the Linux memory management.
|
|||||||
hugetlbpage
|
hugetlbpage
|
||||||
idle_page_tracking
|
idle_page_tracking
|
||||||
ksm
|
ksm
|
||||||
|
numa_memory_policy
|
||||||
pagemap
|
pagemap
|
||||||
soft-dirty
|
soft-dirty
|
||||||
userfaultfd
|
userfaultfd
|
||||||
|
@@ -566,7 +566,7 @@ address policy mapping details
|
|||||||
|
|
||||||
Where:
|
Where:
|
||||||
"address" is the starting address for the mapping;
|
"address" is the starting address for the mapping;
|
||||||
"policy" reports the NUMA memory policy set for the mapping (see vm/numa_memory_policy.txt);
|
"policy" reports the NUMA memory policy set for the mapping (see Documentation/admin-guide/mm/numa_memory_policy.rst);
|
||||||
"mapping details" summarizes mapping data such as mapping type, page usage counters,
|
"mapping details" summarizes mapping data such as mapping type, page usage counters,
|
||||||
node locality page counters (N0 == node0, N1 == node1, ...) and the kernel page
|
node locality page counters (N0 == node0, N1 == node1, ...) and the kernel page
|
||||||
size, in KB, that is backing the mapping up.
|
size, in KB, that is backing the mapping up.
|
||||||
|
@@ -105,8 +105,9 @@ policy for the file will revert to "default" policy.
|
|||||||
NUMA memory allocation policies have optional flags that can be used in
|
NUMA memory allocation policies have optional flags that can be used in
|
||||||
conjunction with their modes. These optional flags can be specified
|
conjunction with their modes. These optional flags can be specified
|
||||||
when tmpfs is mounted by appending them to the mode before the NodeList.
|
when tmpfs is mounted by appending them to the mode before the NodeList.
|
||||||
See Documentation/vm/numa_memory_policy.rst for a list of all available
|
See Documentation/admin-guide/mm/numa_memory_policy.rst for a list of
|
||||||
memory allocation policy mode flags and their effect on memory policy.
|
all available memory allocation policy mode flags and their effect on
|
||||||
|
memory policy.
|
||||||
|
|
||||||
=static is equivalent to MPOL_F_STATIC_NODES
|
=static is equivalent to MPOL_F_STATIC_NODES
|
||||||
=relative is equivalent to MPOL_F_RELATIVE_NODES
|
=relative is equivalent to MPOL_F_RELATIVE_NODES
|
||||||
|
@@ -22,8 +22,6 @@ mmu_notifier.rst
|
|||||||
- a note about clearing pte/pmd and mmu notifications
|
- a note about clearing pte/pmd and mmu notifications
|
||||||
numa.rst
|
numa.rst
|
||||||
- information about NUMA specific code in the Linux vm.
|
- information about NUMA specific code in the Linux vm.
|
||||||
numa_memory_policy.rst
|
|
||||||
- documentation of concepts and APIs of the 2.6 memory policy support.
|
|
||||||
overcommit-accounting.rst
|
overcommit-accounting.rst
|
||||||
- description of the Linux kernels overcommit handling modes.
|
- description of the Linux kernels overcommit handling modes.
|
||||||
page_frags.rst
|
page_frags.rst
|
||||||
|
@@ -14,7 +14,6 @@ various features of the Linux memory management
|
|||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
||||||
ksm
|
ksm
|
||||||
numa_memory_policy
|
|
||||||
transhuge
|
transhuge
|
||||||
swap_numa
|
swap_numa
|
||||||
zswap
|
zswap
|
||||||
|
@@ -110,7 +110,7 @@ to improve NUMA locality using various CPU affinity command line interfaces,
|
|||||||
such as taskset(1) and numactl(1), and program interfaces such as
|
such as taskset(1) and numactl(1), and program interfaces such as
|
||||||
sched_setaffinity(2). Further, one can modify the kernel's default local
|
sched_setaffinity(2). Further, one can modify the kernel's default local
|
||||||
allocation behavior using Linux NUMA memory policy.
|
allocation behavior using Linux NUMA memory policy.
|
||||||
[see Documentation/vm/numa_memory_policy.rst.]
|
[see Documentation/admin-guide/mm/numa_memory_policy.rst.]
|
||||||
|
|
||||||
System administrators can restrict the CPUs and nodes' memories that a non-
|
System administrators can restrict the CPUs and nodes' memories that a non-
|
||||||
privileged user can specify in the scheduling or NUMA commands and functions
|
privileged user can specify in the scheduling or NUMA commands and functions
|
||||||
|
Reference in New Issue
Block a user