summaryrefslogtreecommitdiffstats
path: root/Documentation/vm
Commit message (Collapse)AuthorAgeFilesLines
* docs/vm: move ksm and transhuge from "user" to "internals" section.Mike Rapoport2018-05-291-2/+2
| | | | | | | | | After the userspace interface description for KSM and THP was split to Documentation/admin-guide/mm, the remaining parts belong to the section describing MM internals. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: transhuge: split userspace bits to admin-guide/mm/transhugeMike Rapoport2018-05-211-412/+2
| | | | | | | | Now that the administrative information for transparent huge pages is nicely separated, move it to its own page under the admin guide. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: transhuge: minor updatesMike Rapoport2018-05-211-11/+36
| | | | | | | Some formatting changes and addition of a sentence introducing khugepaged Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: transhuge: change sections orderMike Rapoport2018-05-211-41/+41
| | | | | | | | so that userspace interface and implementation description will be grouped together Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* mm, THP, doc: Add document for thp_swpout/thp_swpout_fallbackHuang Ying2018-05-101-0/+9
| | | | | | | | | | | Add document for newly added thp_swpout, thp_swpout_fallback fields in /proc/vmstat. Signed-off-by: "Huang, Ying" <ying.huang@intel.com> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: move numa_memory_policy.rst to Documentation/admin-guide/mmMike Rapoport2018-05-084-499/+1
| | | | | | | | 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>
* docs/vm: numa_memory_policy: s/Linux memory policy/NUMA memory policy/Mike Rapoport2018-05-081-7/+7
| | | | | | | | | | The document describes NUMA memory policy and as it is a part of the Linux documentation it's obvious that this is Linux memory policy. Besides, "Linux memory policy" may refer to other policies, e.g. memory hotplug policy, and using term NUMA makes the documentation less ambiguous. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: numa_memory_policy: formatting and spelling updatesMike Rapoport2018-05-081-7/+17
| | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: ksm: split userspace interface to admin-guide/mm/ksm.rstMike Rapoport2018-04-271-175/+1
| | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: ksm: udpate description of stable_node_{dups,chains}Mike Rapoport2018-04-271-11/+10
| | | | | | | | | Remove implementation details from sysfs parameter descriptions. Also move the paragraph discussing fragmentation issues and their possible solution to the "Design" section. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: ksm: update stable_node_chains_prune_millisecs descriptionMike Rapoport2018-04-271-8/+11
| | | | | | | | | Make the description of stable_node_chains_prune_millisecs sysfs parameter less implementation aware and add a few words about this parameter in the "Design" section. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: ksm: reshuffle text between "sysfs" and "design" sectionsMike Rapoport2018-04-271-21/+30
| | | | | | | | | The description of "max_page_sharing" sysfs attribute includes lots of implementation details that more naturally belong in the "Design" section. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: ksm: add "Design" sectionMike Rapoport2018-04-271-0/+39
| | | | | | | | | Include the KSM description from the source code comment, add a subsection about reverse mapping and include kernel-doc references for KSM data structures. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: ksm: (mostly) formatting updatesMike Rapoport2018-04-271-41/+69
| | | | | | | | | | Aside from the formatting: * fixed typos * added section and sub-section headers * moved ksmd overview after the description of KSM origins Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/admin-guide/mm: start moving here files from Documentation/vmMike Rapoport2018-04-278-997/+1
| | | | | | | | | | Several documents in Documentation/vm fit quite well into the "admin/user guide" category. The documents that don't overload the reader with lots of implementation details and provide coherent description of certain feature can be moved to Documentation/admin-guide/mm. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: pagemap: change document titleMike Rapoport2018-04-271-3/+3
| | | | | | | | | "pagemap from the Userspace Perspective" is not very descriptive for unaware readers. Since the document describes how to examine a process page tables, let's title it "Examining Process Page Tables" Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: pagemap: formatting and spelling updatesMike Rapoport2018-04-271-8/+8
| | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: hugetlbpage: move section about kernel development to hugetlbfs_reservMike Rapoport2018-04-272-8/+8
| | | | | | | | | The hugetlbpage describes hugetlbfs from the user perspective and newer hugetlbfs_reserv document targets kernel developers. Hence the section about hugetlbfs kernel development naturally belongs there. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs/vm: hugetlbpage: minor improvementsMike Rapoport2018-04-271-7/+10
| | | | | | | | * fixed mistypes * added internal cross-references for sections Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* Merge branch 'mm-rst' into docs-nextJonathan Corbet2018-04-1639-2159/+2557
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mike Rapoport says: These patches convert files in Documentation/vm to ReST format, add an initial index and link it to the top level documentation. There are no contents changes in the documentation, except few spelling fixes. The relatively large diffstat stems from the indentation and paragraph wrapping changes. I've tried to keep the formatting as consistent as possible, but I could miss some places that needed markup and add some markup where it was not necessary. [jc: significant conflicts in vm/hmm.rst]
| * docs/vm: add index.rst and link MM documentation to top level indexMike Rapoport2018-04-162-0/+66
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: rename documentation files to .rstMike Rapoport2018-04-1631-36/+36
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: zswap.txt: convert to ReST formatMike Rapoport2018-04-161-29/+42
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: zsmalloc.txt: convert to ReST formatMike Rapoport2018-04-161-24/+36
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: z3fold.txt: convert to ReST formatMike Rapoport2018-04-161-1/+5
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: userfaultfd.txt: convert to ReST formatMike Rapoport2018-04-161-27/+39
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: unevictable-lru.txt: convert to ReST formatMike Rapoport2018-04-161-68/+49
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: transhuge.txt: convert to ReST formatMike Rapoport2018-04-161-120/+166
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: swap_numa.txt: convert to ReST formatMike Rapoport2018-04-161-22/+33
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: split_page_table_lock: convert to ReST formatMike Rapoport2018-04-161-3/+9
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: soft-dirty.txt: convert to ReST formatMike Rapoport2018-04-161-8/+12
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: slub.txt: convert to ReST formatMike Rapoport2018-04-161-169/+188
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: remap_file_pages.txt: conert to ReST formatMike Rapoport2018-04-161-0/+6
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: page_owner: convert to ReST formatMike Rapoport2018-04-161-13/+21
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: page_migration: convert to ReST formatMike Rapoport2018-04-161-72/+77
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: pagemap.txt: convert to ReST formatMike Rapoport2018-04-161-75/+89
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: numa: convert to ReST formatMike Rapoport2018-04-161-0/+4
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: page_frags convert to ReST formatMike Rapoport2018-04-161-1/+4
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: overcommit-accounting: convert to ReST formatMike Rapoport2018-04-161-50/+57
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: numa_memory_policy.txt: convert to ReST formatMike Rapoport2018-04-161-250/+283
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: mmu_notifier.txt: convert to ReST formatMike Rapoport2018-04-161-51/+57
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: ksm.txt: convert to ReST formatMike Rapoport2018-04-161-105/+110
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: idle_page_tracking.txt: convert to ReST formatMike Rapoport2018-04-161-19/+36
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: hwpoison.txt: convert to ReST formatMike Rapoport2018-04-161-71/+70
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: hugetlbfs_reserv.txt: convert to ReST formatMike Rapoport2018-04-161-77/+135
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: hugetlbpage.txt: convert to ReST formatMike Rapoport2018-04-161-104/+139
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: hmm.txt: convert to ReST formatMike Rapoport2018-04-161-38/+28
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: highmem.txt: convert to ReST formatMike Rapoport2018-04-161-51/+36
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: frontswap.txt: convert to ReST formatMike Rapoport2018-04-161-22/+37
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs/vm: cleancache.txt: convert to ReST formatMike Rapoport2018-04-161-43/+62
| | | | | | | | | | Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>