2021-01-12 13:28:49

by Rolf Eike Beer

[permalink] [raw]
Subject: [PATCH] Documentation: fix typos in split page table lock description

Signed-off-by: Rolf Eike Beer <[email protected]>
---
Documentation/vm/split_page_table_lock.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/vm/split_page_table_lock.rst b/Documentation/vm/split_page_table_lock.rst
index ff51f4a5494d..c08919662704 100644
--- a/Documentation/vm/split_page_table_lock.rst
+++ b/Documentation/vm/split_page_table_lock.rst
@@ -32,7 +32,7 @@ There are helpers to lock/unlock a table and other accessor functions:

Split page table lock for PTE tables is enabled compile-time if
CONFIG_SPLIT_PTLOCK_CPUS (usually 4) is less or equal to NR_CPUS.
-If split lock is disabled, all tables guaded by mm->page_table_lock.
+If split lock is disabled, all tables are guarded by mm->page_table_lock.

Split page table lock for PMD tables is enabled, if it's enabled for PTE
tables and the architecture supports it (see below).
--
2.29.2

--
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source




2021-01-18 20:31:59

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: fix typos in split page table lock description

On Tue, 12 Jan 2021 14:19:36 +0100
Rolf Eike Beer <[email protected]> wrote:

> Signed-off-by: Rolf Eike Beer <[email protected]>
> ---
> Documentation/vm/split_page_table_lock.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/vm/split_page_table_lock.rst b/Documentation/vm/split_page_table_lock.rst
> index ff51f4a5494d..c08919662704 100644
> --- a/Documentation/vm/split_page_table_lock.rst
> +++ b/Documentation/vm/split_page_table_lock.rst
> @@ -32,7 +32,7 @@ There are helpers to lock/unlock a table and other accessor functions:
>
> Split page table lock for PTE tables is enabled compile-time if
> CONFIG_SPLIT_PTLOCK_CPUS (usually 4) is less or equal to NR_CPUS.
> -If split lock is disabled, all tables guaded by mm->page_table_lock.
> +If split lock is disabled, all tables are guarded by mm->page_table_lock.

Applied, thanks.

jon