Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools/vm: rename tools/vm to tools/mm

Rename tools/vm to tools/mm for being more consistent with the code and
documentation directories, and won't be confused with virtual machines.

Link: https://lkml.kernel.org/r/20230103180754.129637-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

SeongJae Park and committed by
Andrew Morton
799fb82a 060deca4

+9 -9
+1 -1
Documentation/admin-guide/mm/idle_page_tracking.rst
··· 65 65 are not reclaimable, he or she can filter them out using 66 66 ``/proc/kpageflags``. 67 67 68 - The page-types tool in the tools/vm directory can be used to assist in this. 68 + The page-types tool in the tools/mm directory can be used to assist in this. 69 69 If the tool is run initially with the appropriate option, it will mark all the 70 70 queried pages as idle. Subsequent runs of the tool can then show which pages have 71 71 their idle flag cleared in the interim.
+2 -2
Documentation/admin-guide/mm/pagemap.rst
··· 46 46 * ``/proc/kpagecount``. This file contains a 64-bit count of the number of 47 47 times each page is mapped, indexed by PFN. 48 48 49 - The page-types tool in the tools/vm directory can be used to query the 49 + The page-types tool in the tools/mm directory can be used to query the 50 50 number of times a page is mapped. 51 51 52 52 * ``/proc/kpageflags``. This file contains a 64-bit set of flags for each ··· 173 173 14 - SWAPBACKED 174 174 The page is backed by swap/RAM. 175 175 176 - The page-types tool in the tools/vm directory can be used to query the 176 + The page-types tool in the tools/mm directory can be used to query the 177 177 above flags. 178 178 179 179 Using pagemap to do something useful
+1 -1
Documentation/mm/page_owner.rst
··· 61 61 62 62 1) Build user-space helper:: 63 63 64 - cd tools/vm 64 + cd tools/mm 65 65 make page_owner_sort 66 66 67 67 2) Enable page owner: add "page_owner=on" to boot cmdline.
+1 -1
Documentation/mm/slub.rst
··· 21 21 running the command. ``slabinfo`` can be compiled with 22 22 :: 23 23 24 - gcc -o slabinfo tools/vm/slabinfo.c 24 + gcc -o slabinfo tools/mm/slabinfo.c 25 25 26 26 Some of the modes of operation of ``slabinfo`` require that slub debugging 27 27 be enabled on the command line. F.e. no tracking information will be
+1 -1
Documentation/translations/zh_CN/mm/page_owner.rst
··· 62 62 63 63 1) 构建用户空间的帮助:: 64 64 65 - cd tools/vm 65 + cd tools/mm 66 66 make page_owner_sort 67 67 68 68 2) 启用page owner: 添加 "page_owner=on" 到 boot cmdline.
+1 -1
MAINTAINERS
··· 13483 13483 F: include/linux/mmzone.h 13484 13484 F: include/linux/pagewalk.h 13485 13485 F: mm/ 13486 + F: tools/mm/ 13486 13487 F: tools/testing/selftests/vm/ 13487 - F: tools/vm/ 13488 13488 13489 13489 VMALLOC 13490 13490 M: Andrew Morton <akpm@linux-foundation.org>
+1 -1
mm/Kconfig.debug
··· 90 90 help to find bare alloc_page(s) leaks. Even if you include this 91 91 feature on your build, it is disabled in default. You should pass 92 92 "page_owner=on" to boot parameter in order to enable it. Eats 93 - a fair amount of memory if enabled. See tools/vm/page_owner_sort.c 93 + a fair amount of memory if enabled. See tools/mm/page_owner_sort.c 94 94 for user-space helper. 95 95 96 96 If unsure, say N.
+1 -1
mm/memory-failure.c
··· 24 24 * - You have a test that can be added to mce-test 25 25 * https://git.kernel.org/cgit/utils/cpu/mce/mce-test.git/ 26 26 * - The case actually shows up as a frequent (top 10) page state in 27 - * tools/vm/page-types when running a real workload. 27 + * tools/mm/page-types when running a real workload. 28 28 * 29 29 * There are several operations here with exponential complexity because 30 30 * of unsuitable VM data structures. For example the operation to map back
tools/vm/.gitignore tools/mm/.gitignore
tools/vm/Makefile tools/mm/Makefile
tools/vm/page-types.c tools/mm/page-types.c
tools/vm/page_owner_sort.c tools/mm/page_owner_sort.c
tools/vm/slabinfo-gnuplot.sh tools/mm/slabinfo-gnuplot.sh
tools/vm/slabinfo.c tools/mm/slabinfo.c