2019-07-16 14:51:23

by Jeremy Cline

[permalink] [raw]
Subject: [PATCH] docs/vm: transhuge: fix typo in madvise reference

Fix an off-by-one typo in the transparent huge pages admin
documentation.

Signed-off-by: Jeremy Cline <[email protected]>
---
Documentation/admin-guide/mm/transhuge.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst
index 7ab93a8404b9..bd5714547cee 100644
--- a/Documentation/admin-guide/mm/transhuge.rst
+++ b/Documentation/admin-guide/mm/transhuge.rst
@@ -53,7 +53,7 @@ disabled, there is ``khugepaged`` daemon that scans memory and
collapses sequences of basic pages into huge pages.

The THP behaviour is controlled via :ref:`sysfs <thp_sysfs>`
-interface and using madivse(2) and prctl(2) system calls.
+interface and using madvise(2) and prctl(2) system calls.

Transparent Hugepage Support maximizes the usefulness of free memory
if compared to the reservation approach of hugetlbfs by allowing all
--
2.21.0


2019-07-18 11:20:02

by Mike Rapoport

[permalink] [raw]
Subject: Re: [PATCH] docs/vm: transhuge: fix typo in madvise reference

On Tue, Jul 16, 2019 at 10:49:08AM -0400, Jeremy Cline wrote:
> Fix an off-by-one typo in the transparent huge pages admin
> documentation.
>
> Signed-off-by: Jeremy Cline <[email protected]>

Acked-by: Mike Rapoport <[email protected]>

> ---
> Documentation/admin-guide/mm/transhuge.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst
> index 7ab93a8404b9..bd5714547cee 100644
> --- a/Documentation/admin-guide/mm/transhuge.rst
> +++ b/Documentation/admin-guide/mm/transhuge.rst
> @@ -53,7 +53,7 @@ disabled, there is ``khugepaged`` daemon that scans memory and
> collapses sequences of basic pages into huge pages.
>
> The THP behaviour is controlled via :ref:`sysfs <thp_sysfs>`
> -interface and using madivse(2) and prctl(2) system calls.
> +interface and using madvise(2) and prctl(2) system calls.
>
> Transparent Hugepage Support maximizes the usefulness of free memory
> if compared to the reservation approach of hugetlbfs by allowing all
> --
> 2.21.0
>

--
Sincerely yours,
Mike.

2019-07-23 03:15:21

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs/vm: transhuge: fix typo in madvise reference

On Tue, 16 Jul 2019 10:49:08 -0400
Jeremy Cline <[email protected]> wrote:

> Fix an off-by-one typo in the transparent huge pages admin
> documentation.
>
> Signed-off-by: Jeremy Cline <[email protected]>

Applied, thanks.

jon