hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/Documentation/admin-guide/mm/ksm.rst
....@@ -9,7 +9,7 @@
99
1010 KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y,
1111 added to the Linux kernel in 2.6.32. See ``mm/ksm.c`` for its implementation,
12
-and http://lwn.net/Articles/306704/ and http://lwn.net/Articles/330589/
12
+and http://lwn.net/Articles/306704/ and https://lwn.net/Articles/330589/
1313
1414 KSM was originally developed for use with KVM (where it was known as
1515 Kernel Shared Memory), to fit more virtual machines into physical memory,
....@@ -52,14 +52,14 @@
5252 If KSM is not configured into the running kernel, madvise MADV_MERGEABLE
5353 and MADV_UNMERGEABLE simply fail with EINVAL. If the running kernel was
5454 built with CONFIG_KSM=y, those calls will normally succeed: even if the
55
-the KSM daemon is not currently running, MADV_MERGEABLE still registers
55
+KSM daemon is not currently running, MADV_MERGEABLE still registers
5656 the range for whenever the KSM daemon is started; even if the range
5757 cannot contain any pages which KSM could actually merge; even if
5858 MADV_UNMERGEABLE is applied to a range which was never MADV_MERGEABLE.
5959
6060 If a region of memory must be split into at least one new MADV_MERGEABLE
6161 or MADV_UNMERGEABLE region, the madvise may return ENOMEM if the process
62
-will exceed ``vm.max_map_count`` (see Documentation/sysctl/vm.txt).
62
+will exceed ``vm.max_map_count`` (see Documentation/admin-guide/sysctl/vm.rst).
6363
6464 Like other madvise calls, they are intended for use on mapped areas of
6565 the user address space: they will report ENOMEM if the specified range