docs/vm: move numa_memory_policy.rst to Documentation/admin-guide/mm
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Tue, 8 May 2018 07:02:10 +0000 (10:02 +0300)
committerJonathan Corbet <corbet@lwn.net>
Tue, 8 May 2018 15:31:31 +0000 (09:31 -0600)
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>
Documentation/admin-guide/mm/hugetlbpage.rst
Documentation/admin-guide/mm/index.rst
Documentation/admin-guide/mm/numa_memory_policy.rst [moved from Documentation/vm/numa_memory_policy.rst with 100% similarity]
Documentation/filesystems/proc.txt
Documentation/filesystems/tmpfs.txt
Documentation/vm/00-INDEX
Documentation/vm/index.rst
Documentation/vm/numa.rst

index a8b0806377bb585799909ab71936a291b23b9c18..1cc0bc78d10e525d541352ea189c9c925bb85991 100644 (file)
@@ -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:
 
 #. 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
    specified in the mempolicy as if "interleave" had been specified.
    However, if a node in the policy does not contain sufficient contiguous
index ad28644fee3517d3585f15ea24c069f83c67dfd8..a69aa69af255ff42724c388cb819d8b5451d2fa4 100644 (file)
@@ -24,6 +24,7 @@ the Linux memory management.
    hugetlbpage
    idle_page_tracking
    ksm
+   numa_memory_policy
    pagemap
    soft-dirty
    userfaultfd
index ef53f808288d6aa005bef6a54d0aa5091134aaff..520f6a84cf50ffefacea03a47685e5dcffa4ba76 100644 (file)
@@ -566,7 +566,7 @@ address   policy    mapping details
 
 Where:
 "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,
 node locality page counters (N0 == node0, N1 == node1, ...) and the kernel page
 size, in KB, that is backing the mapping up.
index 627389a34f77126edd4bb273e2c05401bd25a55f..d06e9a59a9f4a82964f39c3d93c0c5d557f81326 100644 (file)
@@ -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
 conjunction with their modes.  These optional flags can be specified
 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
-memory allocation policy mode flags and their effect on memory policy.
+See Documentation/admin-guide/mm/numa_memory_policy.rst for a list of
+all available memory allocation policy mode flags and their effect on
+memory policy.
 
        =static         is equivalent to        MPOL_F_STATIC_NODES
        =relative       is equivalent to        MPOL_F_RELATIVE_NODES
index f8a96ca16b7abb671c0d07238b56311740ff9a88..f4a4f3e884cf6da428291d5126384824e1aec98a 100644 (file)
@@ -22,8 +22,6 @@ mmu_notifier.rst
        - a note about clearing pte/pmd and mmu notifications
 numa.rst
        - 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
        - description of the Linux kernels overcommit handling modes.
 page_frags.rst
index ed58cb9f9675d4d09fa1a3dbea04848c8caa0629..8e1cc667eef11e7eb3f573b748efb54177dc6214 100644 (file)
@@ -14,7 +14,6 @@ various features of the Linux memory management
    :maxdepth: 1
 
    ksm
-   numa_memory_policy
    transhuge
    swap_numa
    zswap
index aada84bc8c461197f28c5d374c53db8a962b47c8..185d8a5681681183e1e6429c53542699d9110687 100644 (file)
@@ -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
 sched_setaffinity(2).  Further, one can modify the kernel's default local
 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-
 privileged user can specify in the scheduling or NUMA commands and functions