[PATCH] mm: pgtable: Fix grammar error

I Hsin Cheng posted 1 patch 1 year ago
Documentation/mm/split_page_table_lock.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mm: pgtable: Fix grammar error
Posted by I Hsin Cheng 1 year ago
Fix "due high contention" to "due to high contention".

Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
---
 Documentation/mm/split_page_table_lock.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/mm/split_page_table_lock.rst b/Documentation/mm/split_page_table_lock.rst
index e4f6972eb..ced47a23e 100644
--- a/Documentation/mm/split_page_table_lock.rst
+++ b/Documentation/mm/split_page_table_lock.rst
@@ -4,7 +4,7 @@ Split page table lock
 
 Originally, mm->page_table_lock spinlock protected all page tables of the
 mm_struct. But this approach leads to poor page fault scalability of
-multi-threaded applications due high contention on the lock. To improve
+multi-threaded applications due to high contention on the lock. To improve
 scalability, split page table lock was introduced.
 
 With split page table lock we have separate per-table lock to serialize
-- 
2.43.0
Re: [PATCH] mm: pgtable: Fix grammar error
Posted by Jonathan Corbet 1 year ago
I Hsin Cheng <richard120310@gmail.com> writes:

> Fix "due high contention" to "due to high contention".
>
> Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
> ---
>  Documentation/mm/split_page_table_lock.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/mm/split_page_table_lock.rst b/Documentation/mm/split_page_table_lock.rst
> index e4f6972eb..ced47a23e 100644
> --- a/Documentation/mm/split_page_table_lock.rst
> +++ b/Documentation/mm/split_page_table_lock.rst
> @@ -4,7 +4,7 @@ Split page table lock
>  
>  Originally, mm->page_table_lock spinlock protected all page tables of the
>  mm_struct. But this approach leads to poor page fault scalability of
> -multi-threaded applications due high contention on the lock. To improve
> +multi-threaded applications due to high contention on the lock. To improve
>  scalability, split page table lock was introduced.

Applied, thanks.

jon