]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
docs/vm: rename documentation files to .rst
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Wed, 21 Mar 2018 19:22:47 +0000 (21:22 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 16 Apr 2018 20:18:15 +0000 (14:18 -0600)
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
63 files changed:
Documentation/ABI/stable/sysfs-devices-node
Documentation/ABI/testing/sysfs-kernel-mm-hugepages
Documentation/ABI/testing/sysfs-kernel-mm-ksm
Documentation/ABI/testing/sysfs-kernel-slab
Documentation/admin-guide/kernel-parameters.txt
Documentation/dev-tools/kasan.rst
Documentation/filesystems/proc.txt
Documentation/filesystems/tmpfs.txt
Documentation/sysctl/vm.txt
Documentation/vm/00-INDEX
Documentation/vm/active_mm.rst [moved from Documentation/vm/active_mm.txt with 100% similarity]
Documentation/vm/balance.rst [moved from Documentation/vm/balance with 100% similarity]
Documentation/vm/cleancache.rst [moved from Documentation/vm/cleancache.txt with 100% similarity]
Documentation/vm/frontswap.rst [moved from Documentation/vm/frontswap.txt with 100% similarity]
Documentation/vm/highmem.rst [moved from Documentation/vm/highmem.txt with 100% similarity]
Documentation/vm/hmm.rst [moved from Documentation/vm/hmm.txt with 100% similarity]
Documentation/vm/hugetlbfs_reserv.rst [moved from Documentation/vm/hugetlbfs_reserv.txt with 100% similarity]
Documentation/vm/hugetlbpage.rst [moved from Documentation/vm/hugetlbpage.txt with 99% similarity]
Documentation/vm/hwpoison.rst [moved from Documentation/vm/hwpoison.txt with 99% similarity]
Documentation/vm/idle_page_tracking.rst [moved from Documentation/vm/idle_page_tracking.txt with 98% similarity]
Documentation/vm/ksm.rst [moved from Documentation/vm/ksm.txt with 100% similarity]
Documentation/vm/mmu_notifier.rst [moved from Documentation/vm/mmu_notifier.txt with 100% similarity]
Documentation/vm/numa.rst [moved from Documentation/vm/numa with 99% similarity]
Documentation/vm/numa_memory_policy.rst [moved from Documentation/vm/numa_memory_policy.txt with 100% similarity]
Documentation/vm/overcommit-accounting.rst [moved from Documentation/vm/overcommit-accounting with 100% similarity]
Documentation/vm/page_frags.rst [moved from Documentation/vm/page_frags with 100% similarity]
Documentation/vm/page_migration.rst [moved from Documentation/vm/page_migration with 100% similarity]
Documentation/vm/page_owner.rst [moved from Documentation/vm/page_owner.txt with 100% similarity]
Documentation/vm/pagemap.rst [moved from Documentation/vm/pagemap.txt with 98% similarity]
Documentation/vm/remap_file_pages.rst [moved from Documentation/vm/remap_file_pages.txt with 100% similarity]
Documentation/vm/slub.rst [moved from Documentation/vm/slub.txt with 100% similarity]
Documentation/vm/soft-dirty.rst [moved from Documentation/vm/soft-dirty.txt with 100% similarity]
Documentation/vm/split_page_table_lock.rst [moved from Documentation/vm/split_page_table_lock with 100% similarity]
Documentation/vm/swap_numa.rst [moved from Documentation/vm/swap_numa.txt with 100% similarity]
Documentation/vm/transhuge.rst [moved from Documentation/vm/transhuge.txt with 100% similarity]
Documentation/vm/unevictable-lru.rst [moved from Documentation/vm/unevictable-lru.txt with 100% similarity]
Documentation/vm/userfaultfd.rst [moved from Documentation/vm/userfaultfd.txt with 100% similarity]
Documentation/vm/z3fold.rst [moved from Documentation/vm/z3fold.txt with 100% similarity]
Documentation/vm/zsmalloc.rst [moved from Documentation/vm/zsmalloc.txt with 100% similarity]
Documentation/vm/zswap.rst [moved from Documentation/vm/zswap.txt with 100% similarity]
MAINTAINERS
arch/alpha/Kconfig
arch/ia64/Kconfig
arch/mips/Kconfig
arch/powerpc/Kconfig
fs/Kconfig
fs/dax.c
fs/proc/task_mmu.c
include/linux/hmm.h
include/linux/memremap.h
include/linux/mmu_notifier.h
include/linux/sched/mm.h
include/linux/swap.h
mm/Kconfig
mm/cleancache.c
mm/frontswap.c
mm/hmm.c
mm/huge_memory.c
mm/hugetlb.c
mm/ksm.c
mm/mmap.c
mm/rmap.c
mm/util.c

index 5b2d0f08867cd899df072f89a059995944fb8eec..b38f4b73456792d5bcb98472b8d6e74424429660 100644 (file)
@@ -90,4 +90,4 @@ Date:         December 2009
 Contact:       Lee Schermerhorn <lee.schermerhorn@hp.com>
 Description:
                The node's huge page size control/query attributes.
-               See Documentation/vm/hugetlbpage.txt
\ No newline at end of file
+               See Documentation/vm/hugetlbpage.rst
\ No newline at end of file
index e21c00571cf4f082b04f12b168e376c500bd845d..5140b233356c16129b5eb7c9edf0b8b45510604f 100644 (file)
@@ -12,4 +12,4 @@ Description:
                        free_hugepages
                        surplus_hugepages
                        resv_hugepages
-               See Documentation/vm/hugetlbpage.txt for details.
+               See Documentation/vm/hugetlbpage.rst for details.
index 73e653ee248160cb5612d620eeeeff5130f07bc6..dfc13244cda3bb567591fbd6cbcfaee6905731c6 100644 (file)
@@ -40,7 +40,7 @@ Description:  Kernel Samepage Merging daemon sysfs interface
                sleep_millisecs: how many milliseconds ksm should sleep between
                scans.
 
-               See Documentation/vm/ksm.txt for more information.
+               See Documentation/vm/ksm.rst for more information.
 
 What:          /sys/kernel/mm/ksm/merge_across_nodes
 Date:          January 2013
index 2cc0a72b64be68cd5a4191dab5581a71780407e4..29601d93a1c2ea112899007c37a2f7297c655338 100644 (file)
@@ -37,7 +37,7 @@ Description:
                The alloc_calls file is read-only and lists the kernel code
                locations from which allocations for this cache were performed.
                The alloc_calls file only contains information if debugging is
-               enabled for that cache (see Documentation/vm/slub.txt).
+               enabled for that cache (see Documentation/vm/slub.rst).
 
 What:          /sys/kernel/slab/cache/alloc_fastpath
 Date:          February 2008
@@ -219,7 +219,7 @@ Contact:    Pekka Enberg <penberg@cs.helsinki.fi>,
 Description:
                The free_calls file is read-only and lists the locations of
                object frees if slab debugging is enabled (see
-               Documentation/vm/slub.txt).
+               Documentation/vm/slub.rst).
 
 What:          /sys/kernel/slab/cache/free_fastpath
 Date:          February 2008
index 1d1d53f85ddd79ce2218b7274b3114f41493ac3a..5d6e5509c04901bcf5f8fa0d3bfed4bb73289462 100644 (file)
                        cache (risks via metadata attacks are mostly
                        unchanged). Debug options disable merging on their
                        own.
-                       For more information see Documentation/vm/slub.txt.
+                       For more information see Documentation/vm/slub.rst.
 
        slab_max_order= [MM, SLAB]
                        Determines the maximum allowed order for slabs.
                        slub_debug can create guard zones around objects and
                        may poison objects when not in use. Also tracks the
                        last alloc / free. For more information see
-                       Documentation/vm/slub.txt.
+                       Documentation/vm/slub.rst.
 
        slub_memcg_sysfs=       [MM, SLUB]
                        Determines whether to enable sysfs directories for
                        Determines the maximum allowed order for slabs.
                        A high setting may cause OOMs due to memory
                        fragmentation. For more information see
-                       Documentation/vm/slub.txt.
+                       Documentation/vm/slub.rst.
 
        slub_min_objects=       [MM, SLUB]
                        The minimum number of objects per slab. SLUB will
                        the number of objects indicated. The higher the number
                        of objects the smaller the overhead of tracking slabs
                        and the less frequently locks need to be acquired.
-                       For more information see Documentation/vm/slub.txt.
+                       For more information see Documentation/vm/slub.rst.
 
        slub_min_order= [MM, SLUB]
                        Determines the minimum page order for slabs. Must be
                        lower than slub_max_order.
-                       For more information see Documentation/vm/slub.txt.
+                       For more information see Documentation/vm/slub.rst.
 
        slub_nomerge    [MM, SLUB]
                        Same with slab_nomerge. This is supported for legacy.
                        Format: [always|madvise|never]
                        Can be used to control the default behavior of the system
                        with respect to transparent hugepages.
-                       See Documentation/vm/transhuge.txt for more details.
+                       See Documentation/vm/transhuge.rst for more details.
 
        tsc=            Disable clocksource stability checks for TSC.
                        Format: <string>
index f7a18f2743576ab1e96f6ddc6de2a329f1d40c16..aabc8738b3d8688bbc41951d79698b9e89f144fb 100644 (file)
@@ -120,7 +120,7 @@ A typical out of bounds access report looks like this::
 
 The header of the report discribe what kind of bug happened and what kind of
 access caused it. It's followed by the description of the accessed slub object
-(see 'SLUB Debug output' section in Documentation/vm/slub.txt for details) and
+(see 'SLUB Debug output' section in Documentation/vm/slub.rst for details) and
 the description of the accessed memory page.
 
 In the last section the report shows memory state around the accessed address.
index 2a84bb3348947c1c0302ecfaa3a01a21fa558fef..2d3984c70feb49b2a4d67f2239d07a7dae63236a 100644 (file)
@@ -515,7 +515,7 @@ guarantees:
 
 The /proc/PID/clear_refs is used to reset the PG_Referenced and ACCESSED/YOUNG
 bits on both physical and virtual pages associated with a process, and the
-soft-dirty bit on pte (see Documentation/vm/soft-dirty.txt for details).
+soft-dirty bit on pte (see Documentation/vm/soft-dirty.rst for details).
 To clear the bits for all the pages associated with the process
     > echo 1 > /proc/PID/clear_refs
 
@@ -536,7 +536,7 @@ Any other value written to /proc/PID/clear_refs will have no effect.
 
 The /proc/pid/pagemap gives the PFN, which can be used to find the pageflags
 using /proc/kpageflags and number of times a page is mapped using
-/proc/kpagecount. For detailed explanation, see Documentation/vm/pagemap.txt.
+/proc/kpagecount. For detailed explanation, see Documentation/vm/pagemap.rst.
 
 The /proc/pid/numa_maps is an extension based on maps, showing the memory
 locality and binding policy, as well as the memory usage (in pages) of
index a85355cf85f449da93c7bd9fc98690344aeba134..627389a34f77126edd4bb273e2c05401bd25a55f 100644 (file)
@@ -105,7 +105,7 @@ 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.txt for a list of all available
+See Documentation/vm/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
index ff234d229cbbc581ec53a41dcc7725565d0747d4..ef581a940439bb476950514af7ec8dedb14b3fab 100644 (file)
@@ -516,7 +516,7 @@ nr_hugepages
 
 Change the minimum size of the hugepage pool.
 
-See Documentation/vm/hugetlbpage.txt
+See Documentation/vm/hugetlbpage.rst
 
 ==============================================================
 
@@ -525,7 +525,7 @@ nr_overcommit_hugepages
 Change the maximum size of the hugepage pool. The maximum is
 nr_hugepages + nr_overcommit_hugepages.
 
-See Documentation/vm/hugetlbpage.txt
+See Documentation/vm/hugetlbpage.rst
 
 ==============================================================
 
@@ -668,7 +668,7 @@ and don't use much of it.
 
 The default value is 0.
 
-See Documentation/vm/overcommit-accounting and
+See Documentation/vm/overcommit-accounting.rst and
 mm/mmap.c::__vm_enough_memory() for more information.
 
 ==============================================================
index 0278f2c85efb51006e9f5fa44246bc72a5f8dec3..cda564d55b3cfa84edde8befb2d9d1ab22a3c470 100644 (file)
@@ -1,62 +1,62 @@
 00-INDEX
        - this file.
-active_mm.txt
+active_mm.rst
        - An explanation from Linus about tsk->active_mm vs tsk->mm.
-balance
+balance.rst
        - various information on memory balancing.
-cleancache.txt
+cleancache.rst
        - Intro to cleancache and page-granularity victim cache.
-frontswap.txt
+frontswap.rst
        - Outline frontswap, part of the transcendent memory frontend.
-highmem.txt
+highmem.rst
        - Outline of highmem and common issues.
-hmm.txt
+hmm.rst
        - Documentation of heterogeneous memory management
-hugetlbpage.txt
+hugetlbpage.rst
        - a brief summary of hugetlbpage support in the Linux kernel.
-hugetlbfs_reserv.txt
+hugetlbfs_reserv.rst
        - A brief overview of hugetlbfs reservation design/implementation.
-hwpoison.txt
+hwpoison.rst
        - explains what hwpoison is
-idle_page_tracking.txt
+idle_page_tracking.rst
        - description of the idle page tracking feature.
-ksm.txt
+ksm.rst
        - how to use the Kernel Samepage Merging feature.
-mmu_notifier.txt
+mmu_notifier.rst
        - a note about clearing pte/pmd and mmu notifications
-numa
+numa.rst
        - information about NUMA specific code in the Linux vm.
-numa_memory_policy.txt
+numa_memory_policy.rst
        - documentation of concepts and APIs of the 2.6 memory policy support.
-overcommit-accounting
+overcommit-accounting.rst
        - description of the Linux kernels overcommit handling modes.
-page_frags
+page_frags.rst
        - description of page fragments allocator
-page_migration
+page_migration.rst
        - description of page migration in NUMA systems.
-pagemap.txt
+pagemap.rst
        - pagemap, from the userspace perspective
-page_owner.txt
+page_owner.rst
        - tracking about who allocated each page
-remap_file_pages.txt
+remap_file_pages.rst
        - a note about remap_file_pages() system call
-slub.txt
+slub.rst
        - a short users guide for SLUB.
-soft-dirty.txt
+soft-dirty.rst
        - short explanation for soft-dirty PTEs
-split_page_table_lock
+split_page_table_lock.rst
        - Separate per-table lock to improve scalability of the old page_table_lock.
-swap_numa.txt
+swap_numa.rst
        - automatic binding of swap device to numa node
-transhuge.txt
+transhuge.rst
        - Transparent Hugepage Support, alternative way of using hugepages.
-unevictable-lru.txt
+unevictable-lru.rst
        - Unevictable LRU infrastructure
-userfaultfd.txt
+userfaultfd.rst
        - description of userfaultfd system call
 z3fold.txt
        - outline of z3fold allocator for storing compressed pages
-zsmalloc.txt
+zsmalloc.rst
        - outline of zsmalloc allocator for storing compressed pages
-zswap.txt
+zswap.rst
        - Intro to compressed cache for swap pages
similarity index 99%
rename from Documentation/vm/hugetlbpage.txt
rename to Documentation/vm/hugetlbpage.rst
index 3bb0d991f102b8eeb37a07014b1acf066a663eb4..a5da14b05b4bea532c31226ceef615817f1be3e1 100644 (file)
@@ -217,7 +217,7 @@ When adjusting the persistent hugepage count via ``nr_hugepages_mempolicy``, any
 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 Documentation/vm/numa_memory_policy.txt],
+#. Regardless of mempolicy mode [see Documentation/vm/numa_memory_policy.rst],
    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
similarity index 99%
rename from Documentation/vm/hwpoison.txt
rename to Documentation/vm/hwpoison.rst
index b1a8c241d6c2d9b62364d0876a2de0f672d4c48e..070aa1e716b7141d45130c3d94cc71d611eeec36 100644 (file)
@@ -155,7 +155,7 @@ Testing
        value).  This allows stress testing of many kinds of
        pages. The page_flags are the same as in /proc/kpageflags. The
        flag bits are defined in include/linux/kernel-page-flags.h and
-       documented in Documentation/vm/pagemap.txt
+       documented in Documentation/vm/pagemap.rst
 
 * Architecture specific MCE injector
 
similarity index 98%
rename from Documentation/vm/idle_page_tracking.txt
rename to Documentation/vm/idle_page_tracking.rst
index 9cbe6f8d7a9929362cbfa8cbffc4d6de6bdee526..d1c4609a52201bda3e17372490f824a35b83648f 100644 (file)
@@ -65,7 +65,7 @@ workload one should:
     are not reclaimable, he or she can filter them out using
     ``/proc/kpageflags``.
 
-See Documentation/vm/pagemap.txt for more information about
+See Documentation/vm/pagemap.rst for more information about
 ``/proc/pid/pagemap``, ``/proc/kpageflags``, and ``/proc/kpagecgroup``.
 
 .. _impl_details:
similarity index 99%
rename from Documentation/vm/numa
rename to Documentation/vm/numa.rst
index c81e7c56f0f9695ccd172a95bce289af05c3b99d..aada84bc8c461197f28c5d374c53db8a962b47c8 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.txt.]
+[see Documentation/vm/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
similarity index 98%
rename from Documentation/vm/pagemap.txt
rename to Documentation/vm/pagemap.rst
index bd6d71740c882fe84dfa1ba0f45668e7d11bec00..d54b4bfd3043148aa43ffd2a079bb7769ba5e753 100644 (file)
@@ -18,7 +18,7 @@ There are four components to pagemap:
     * Bits 0-54  page frame number (PFN) if present
     * Bits 0-4   swap type if swapped
     * Bits 5-54  swap offset if swapped
-    * Bit  55    pte is soft-dirty (see Documentation/vm/soft-dirty.txt)
+    * Bit  55    pte is soft-dirty (see Documentation/vm/soft-dirty.rst)
     * Bit  56    page exclusively mapped (since 4.2)
     * Bits 57-60 zero
     * Bit  61    page is file-page or shared-anon (since 3.5)
@@ -97,7 +97,7 @@ Short descriptions to the page flags:
     A compound page with order N consists of 2^N physically contiguous pages.
     A compound page with order 2 takes the form of "HTTT", where H donates its
     head page and T donates its tail page(s).  The major consumers of compound
-    pages are hugeTLB pages (Documentation/vm/hugetlbpage.txt), the SLUB etc.
+    pages are hugeTLB pages (Documentation/vm/hugetlbpage.rst), the SLUB etc.
     memory allocators and various device drivers. However in this interface,
     only huge/giga pages are made visible to end users.
 16 - COMPOUND_TAIL
@@ -118,7 +118,7 @@ Short descriptions to the page flags:
     zero page for pfn_zero or huge_zero page
 25 - IDLE
     page has not been accessed since it was marked idle (see
-    Documentation/vm/idle_page_tracking.txt). Note that this flag may be
+    Documentation/vm/idle_page_tracking.rst). Note that this flag may be
     stale in case the page was accessed via a PTE. To make sure the flag
     is up-to-date one has to read ``/sys/kernel/mm/page_idle/bitmap`` first.
 
index 3bdc260e36b7a7eaac26003b187c436655fc3412..575849a8343e0fcd07f81846adf7289f591081af 100644 (file)
@@ -15406,7 +15406,7 @@ L:      linux-mm@kvack.org
 S:     Maintained
 F:     mm/zsmalloc.c
 F:     include/linux/zsmalloc.h
-F:     Documentation/vm/zsmalloc.txt
+F:     Documentation/vm/zsmalloc.rst
 
 ZSWAP COMPRESSED SWAP CACHING
 M:     Seth Jennings <sjenning@redhat.com>
index e96adcbcab4188afca8023cb05306e0bd7288b4c..f53e5060afe78de9c8513551c4fadadbd8df5035 100644 (file)
@@ -584,7 +584,7 @@ config ARCH_DISCONTIGMEM_ENABLE
          Say Y to support efficient handling of discontiguous physical memory,
          for architectures which are either NUMA (Non-Uniform Memory Access)
          or have huge holes in the physical address space for other reasons.
-         See <file:Documentation/vm/numa> for more.
+         See <file:Documentation/vm/numa.rst> for more.
 
 source "mm/Kconfig"
 
index bbe12a038d210c6acd3fe9c3f691d2a2ec27b7d2..3ac9bf4cc2a044f84e4ab66bd609c5de1caeef6b 100644 (file)
@@ -397,7 +397,7 @@ config ARCH_DISCONTIGMEM_ENABLE
          Say Y to support efficient handling of discontiguous physical memory,
          for architectures which are either NUMA (Non-Uniform Memory Access)
          or have huge holes in the physical address space for other reasons.
-         See <file:Documentation/vm/numa> for more.
+         See <file:Documentation/vm/numa.rst> for more.
 
 config ARCH_FLATMEM_ENABLE
        def_bool y
index 8128c3b68d6b013f022e3fbe51da21976913551e..4562810857ebca6962e87bcfdafc36bb90588f6e 100644 (file)
@@ -2551,7 +2551,7 @@ config ARCH_DISCONTIGMEM_ENABLE
          Say Y to support efficient handling of discontiguous physical memory,
          for architectures which are either NUMA (Non-Uniform Memory Access)
          or have huge holes in the physical address space for other reasons.
-         See <file:Documentation/vm/numa> for more.
+         See <file:Documentation/vm/numa.rst> for more.
 
 config ARCH_SPARSEMEM_ENABLE
        bool
index 73ce5dd076420720822890ab8425632d3632870c..f8c0f10949eab572de1649b9ed2b988e7d110edc 100644 (file)
@@ -880,7 +880,7 @@ config PPC_MEM_KEYS
          page-based protections, but without requiring modification of the
          page tables when an application changes protection domains.
 
-         For details, see Documentation/vm/protection-keys.txt
+         For details, see Documentation/vm/protection-keys.rst
 
          If unsure, say y.
 
index bc821a86d965196e0952f452f23f2fa4bda8ee20..ba53dc2a9691be4a3da1f3ea5f2ac7f2efb6a677 100644 (file)
@@ -196,7 +196,7 @@ config HUGETLBFS
        help
          hugetlbfs is a filesystem backing for HugeTLB pages, based on
          ramfs. For architectures that support it, say Y here and read
-         <file:Documentation/vm/hugetlbpage.txt> for details.
+         <file:Documentation/vm/hugetlbpage.rst> for details.
 
          If unsure, say N.
 
index 0276df90e86c588f1908409fee23c0152e0d63a6..0eb65c34d5a6b198a57d67671d67fd5bef2bfa72 100644 (file)
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -618,7 +618,7 @@ static void dax_mapping_entry_mkclean(struct address_space *mapping,
                 * downgrading page table protection not changing it to point
                 * to a new page.
                 *
-                * See Documentation/vm/mmu_notifier.txt
+                * See Documentation/vm/mmu_notifier.rst
                 */
                if (pmdp) {
 #ifdef CONFIG_FS_DAX_PMD
index ec6d2983a5cb65e5c46a40c5b6a18da11db10749..91d14c4ac04a19bd8f00248aa8e0fb3521652ede 100644 (file)
@@ -956,7 +956,7 @@ static inline void clear_soft_dirty(struct vm_area_struct *vma,
        /*
         * The soft-dirty tracker uses #PF-s to catch writes
         * to pages, so write-protect the pte as well. See the
-        * Documentation/vm/soft-dirty.txt for full description
+        * Documentation/vm/soft-dirty.rst for full description
         * of how soft-dirty works.
         */
        pte_t ptent = *pte;
@@ -1436,7 +1436,7 @@ static int pagemap_hugetlb_range(pte_t *ptep, unsigned long hmask,
  * Bits 0-54  page frame number (PFN) if present
  * Bits 0-4   swap type if swapped
  * Bits 5-54  swap offset if swapped
- * Bit  55    pte is soft-dirty (see Documentation/vm/soft-dirty.txt)
+ * Bit  55    pte is soft-dirty (see Documentation/vm/soft-dirty.rst)
  * Bit  56    page exclusively mapped
  * Bits 57-60 zero
  * Bit  61    page is file-page or shared-anon
index 325017ad9311749820e648949d987f42ef5e0105..77be87c095f25fae744179abdf33cfd7d0d773db 100644 (file)
@@ -16,7 +16,7 @@
 /*
  * Heterogeneous Memory Management (HMM)
  *
- * See Documentation/vm/hmm.txt for reasons and overview of what HMM is and it
+ * See Documentation/vm/hmm.rst for reasons and overview of what HMM is and it
  * is for. Here we focus on the HMM API description, with some explanation of
  * the underlying implementation.
  *
index 7b4899c06f49c7c727da4ae64eb83d10e7a14e83..74ea5e2310a87ccf0abc64000af299a859bedd85 100644 (file)
@@ -45,7 +45,7 @@ struct vmem_altmap {
  * must be treated as an opaque object, rather than a "normal" struct page.
  *
  * A more complete discussion of unaddressable memory may be found in
- * include/linux/hmm.h and Documentation/vm/hmm.txt.
+ * include/linux/hmm.h and Documentation/vm/hmm.rst.
  *
  * MEMORY_DEVICE_PUBLIC:
  * Device memory that is cache coherent from device and CPU point of view. This
@@ -67,7 +67,7 @@ enum memory_type {
  *   page_free()
  *
  * Additional notes about MEMORY_DEVICE_PRIVATE may be found in
- * include/linux/hmm.h and Documentation/vm/hmm.txt. There is also a brief
+ * include/linux/hmm.h and Documentation/vm/hmm.rst. There is also a brief
  * explanation in include/linux/memory_hotplug.h.
  *
  * The page_fault() callback must migrate page back, from device memory to
index 2d07a1ed5a31562611b7afb68ae63c76f1e4b7c3..392e6af827016cb48d8bfffde0b096463378aaad 100644 (file)
@@ -174,7 +174,7 @@ struct mmu_notifier_ops {
         * invalidate_range_start()/end() notifiers, as
         * invalidate_range() alread catches the points in time when an
         * external TLB range needs to be flushed. For more in depth
-        * discussion on this see Documentation/vm/mmu_notifier.txt
+        * discussion on this see Documentation/vm/mmu_notifier.rst
         *
         * Note that this function might be called with just a sub-range
         * of what was passed to invalidate_range_start()/end(), if
index 1149533aa2fa2838d28b4351522314cb302bc0a4..df2c7d11f496c12cf6a316e099ee810ce42501ee 100644 (file)
@@ -28,7 +28,7 @@ extern struct mm_struct *mm_alloc(void);
  *
  * Use mmdrop() to release the reference acquired by mmgrab().
  *
- * See also <Documentation/vm/active_mm.txt> for an in-depth explanation
+ * See also <Documentation/vm/active_mm.rst> for an in-depth explanation
  * of &mm_struct.mm_count vs &mm_struct.mm_users.
  */
 static inline void mmgrab(struct mm_struct *mm)
@@ -51,7 +51,7 @@ extern void mmdrop(struct mm_struct *mm);
  *
  * Use mmput() to release the reference acquired by mmget().
  *
- * See also <Documentation/vm/active_mm.txt> for an in-depth explanation
+ * See also <Documentation/vm/active_mm.rst> for an in-depth explanation
  * of &mm_struct.mm_count vs &mm_struct.mm_users.
  */
 static inline void mmget(struct mm_struct *mm)
index 7b6a59f722a39eda9db1b8de902001c434b0be80..4003973deff4f71e558fd8619eb5626f3e8d7573 100644 (file)
@@ -53,7 +53,7 @@ static inline int current_is_kswapd(void)
 
 /*
  * Unaddressable device memory support. See include/linux/hmm.h and
- * Documentation/vm/hmm.txt. Short description is we need struct pages for
+ * Documentation/vm/hmm.rst. Short description is we need struct pages for
  * device memory that is unaddressable (inaccessible) by CPU, so that we can
  * migrate part of a process memory to device memory.
  *
index c782e8fb7235ca0932c078beffe02b633c25449a..b9f04213a353fb2a1158dc613770f2dcc7de3707 100644 (file)
@@ -312,7 +312,7 @@ config KSM
          the many instances by a single page with that content, so
          saving memory until one or another app needs to modify the content.
          Recommended for use with KVM, or with other duplicative applications.
-         See Documentation/vm/ksm.txt for more information: KSM is inactive
+         See Documentation/vm/ksm.rst for more information: KSM is inactive
          until a program has madvised that an area is MADV_MERGEABLE, and
          root has set /sys/kernel/mm/ksm/run to 1 (if CONFIG_SYSFS is set).
 
@@ -537,7 +537,7 @@ config MEM_SOFT_DIRTY
          into a page just as regular dirty bit, but unlike the latter
          it can be cleared by hands.
 
-         See Documentation/vm/soft-dirty.txt for more details.
+         See Documentation/vm/soft-dirty.rst for more details.
 
 config ZSWAP
        bool "Compressed cache for swap pages (EXPERIMENTAL)"
@@ -664,7 +664,7 @@ config IDLE_PAGE_TRACKING
          be useful to tune memory cgroup limits and/or for job placement
          within a compute cluster.
 
-         See Documentation/vm/idle_page_tracking.txt for more details.
+         See Documentation/vm/idle_page_tracking.rst for more details.
 
 # arch_add_memory() comprehends device memory
 config ARCH_HAS_ZONE_DEVICE
index f7b9fdc79d97c15cc6790566469b6614c686aa90..126548b5a292bce68708be3b725dfa04465e5078 100644 (file)
@@ -3,7 +3,7 @@
  *
  * This code provides the generic "frontend" layer to call a matching
  * "backend" driver implementation of cleancache.  See
- * Documentation/vm/cleancache.txt for more information.
+ * Documentation/vm/cleancache.rst for more information.
  *
  * Copyright (C) 2009-2010 Oracle Corp. All rights reserved.
  * Author: Dan Magenheimer
index fec8b5044040503d0bef75d8ddf0ee74982ecd20..4f5476a0f95535a1c687b898b96373b7fc1c040e 100644 (file)
@@ -3,7 +3,7 @@
  *
  * This code provides the generic "frontend" layer to call a matching
  * "backend" driver implementation of frontswap.  See
- * Documentation/vm/frontswap.txt for more information.
+ * Documentation/vm/frontswap.rst for more information.
  *
  * Copyright (C) 2009-2012 Oracle Corp.  All rights reserved.
  * Author: Dan Magenheimer
index 320545b98ff55997029476f32e09dbf5d4f5f009..af176c6820cf4e4b29647617ac90afae1a05fdef 100644 (file)
--- a/mm/hmm.c
+++ b/mm/hmm.c
@@ -37,7 +37,7 @@
 
 #if defined(CONFIG_DEVICE_PRIVATE) || defined(CONFIG_DEVICE_PUBLIC)
 /*
- * Device private memory see HMM (Documentation/vm/hmm.txt) or hmm.h
+ * Device private memory see HMM (Documentation/vm/hmm.rst) or hmm.h
  */
 DEFINE_STATIC_KEY_FALSE(device_private_key);
 EXPORT_SYMBOL(device_private_key);
index 87ab9b8f56b53dae6875e19533b5e1e171d2533c..6d5911673450936d681f5ff0880b350191bbcb05 100644 (file)
@@ -1185,7 +1185,7 @@ static int do_huge_pmd_wp_page_fallback(struct vm_fault *vmf, pmd_t orig_pmd,
         * mmu_notifier_invalidate_range_end() happens which can lead to a
         * device seeing memory write in different order than CPU.
         *
-        * See Documentation/vm/mmu_notifier.txt
+        * See Documentation/vm/mmu_notifier.rst
         */
        pmdp_huge_clear_flush_notify(vma, haddr, vmf->pmd);
 
@@ -2037,7 +2037,7 @@ static void __split_huge_zero_page_pmd(struct vm_area_struct *vma,
         * replacing a zero pmd write protected page with a zero pte write
         * protected page.
         *
-        * See Documentation/vm/mmu_notifier.txt
+        * See Documentation/vm/mmu_notifier.rst
         */
        pmdp_huge_clear_flush(vma, haddr, pmd);
 
index 7c204e3d132b808364fc1e87e3dace180f9ba173..5af974abae460a2e22357311cf2f81a6c7209ae7 100644 (file)
@@ -3289,7 +3289,7 @@ int copy_hugetlb_page_range(struct mm_struct *dst, struct mm_struct *src,
                                 * table protection not changing it to point
                                 * to a new page.
                                 *
-                                * See Documentation/vm/mmu_notifier.txt
+                                * See Documentation/vm/mmu_notifier.rst
                                 */
                                huge_ptep_set_wrprotect(src, addr, src_pte);
                        }
@@ -4355,7 +4355,7 @@ unsigned long hugetlb_change_protection(struct vm_area_struct *vma,
         * No need to call mmu_notifier_invalidate_range() we are downgrading
         * page table protection not changing it to point to a new page.
         *
-        * See Documentation/vm/mmu_notifier.txt
+        * See Documentation/vm/mmu_notifier.rst
         */
        i_mmap_unlock_write(vma->vm_file->f_mapping);
        mmu_notifier_invalidate_range_end(mm, start, end);
index 293721f5da702ade0da55724702e0dbe6bf6422c..0b88698a9014457f34a2465f737f0a12ddb1d203 100644 (file)
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -1049,7 +1049,7 @@ static int write_protect_page(struct vm_area_struct *vma, struct page *page,
                 * No need to notify as we are downgrading page table to read
                 * only not changing it to point to a new page.
                 *
-                * See Documentation/vm/mmu_notifier.txt
+                * See Documentation/vm/mmu_notifier.rst
                 */
                entry = ptep_clear_flush(vma, pvmw.address, pvmw.pte);
                /*
@@ -1138,7 +1138,7 @@ static int replace_page(struct vm_area_struct *vma, struct page *page,
         * No need to notify as we are replacing a read only page with another
         * read only page with the same content.
         *
-        * See Documentation/vm/mmu_notifier.txt
+        * See Documentation/vm/mmu_notifier.rst
         */
        ptep_clear_flush(vma, addr, ptep);
        set_pte_at_notify(mm, addr, ptep, newpte);
index 9efdc021ad2202fc9ebd7e55fe572813136d2f2c..39fc51d1639c7ff2e7f6e2775a42773c9ce33891 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2769,7 +2769,7 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
        unsigned long ret = -EINVAL;
        struct file *file;
 
-       pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.txt.\n",
+       pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.rst.\n",
                     current->comm, current->pid);
 
        if (prot)
index 47db27f8049e105b88f1ed60054b1576b8056dac..854b703fbe2a5504f8d69c72e27be8612c664e78 100644 (file)
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -942,7 +942,7 @@ static bool page_mkclean_one(struct page *page, struct vm_area_struct *vma,
                 * downgrading page table protection not changing it to point
                 * to a new page.
                 *
-                * See Documentation/vm/mmu_notifier.txt
+                * See Documentation/vm/mmu_notifier.rst
                 */
                if (ret)
                        (*cleaned)++;
@@ -1587,7 +1587,7 @@ static bool try_to_unmap_one(struct page *page, struct vm_area_struct *vma,
                         * point at new page while a device still is using this
                         * page.
                         *
-                        * See Documentation/vm/mmu_notifier.txt
+                        * See Documentation/vm/mmu_notifier.rst
                         */
                        dec_mm_counter(mm, mm_counter_file(page));
                }
@@ -1597,7 +1597,7 @@ discard:
                 * done above for all cases requiring it to happen under page
                 * table lock before mmu_notifier_invalidate_range_end()
                 *
-                * See Documentation/vm/mmu_notifier.txt
+                * See Documentation/vm/mmu_notifier.rst
                 */
                page_remove_rmap(subpage, PageHuge(page));
                put_page(page);
index c1250501364fbdb319420d2ba3cd1fc8b63d8c37..e857c80c6f4a5340c42ea5152d7bbc92ee7cb8e8 100644 (file)
--- a/mm/util.c
+++ b/mm/util.c
@@ -609,7 +609,7 @@ EXPORT_SYMBOL_GPL(vm_memory_committed);
  * succeed and -ENOMEM implies there is not.
  *
  * We currently support three overcommit policies, which are set via the
- * vm.overcommit_memory sysctl.  See Documentation/vm/overcommit-accounting
+ * vm.overcommit_memory sysctl.  See Documentation/vm/overcommit-accounting.rst
  *
  * Strict overcommit modes added 2002 Feb 26 by Alan Cox.
  * Additional code 2002 Jul 20 by Robert Love.