[PATCH v3] Documentation: proc: fix repeated word 'page'

Yahya Toubali posted 1 patch 6 days, 10 hours ago
Documentation/filesystems/proc.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v3] Documentation: proc: fix repeated word 'page'
Posted by Yahya Toubali 6 days, 10 hours ago
Remove the duplicate 'page' in the sentence describing large page
allocation accounting. The extra word makes the description confusing.

Signed-off-by: Yahya Toubali <yahya@yahyatoubali.me>
---
 Documentation/filesystems/proc.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 2ccd5b2dfdd3..d22ac0addd42 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -513,7 +513,7 @@ In some kernel configurations, the semantics of pages part of a larger
 allocation (e.g., THP) can differ: a page is accounted as "private" if all
 pages part of the corresponding large allocation are *certainly* mapped in the
 same process, even if the page is mapped multiple times in that process. A
-page is accounted as "shared" if any page page of the larger allocation
+page is accounted as "shared" if any page of the larger allocation
 is *maybe* mapped in a different process. In some cases, a large allocation
 might be treated as "maybe mapped by multiple processes" even though this
 is no longer the case.

base-commit: 1229e2e57a5c2980ccd457b9b53ea0eed5a22ab3
-- 
2.55.0
Re: [PATCH v3] Documentation: proc: fix repeated word 'page'
Posted by Jonathan Corbet 2 days, 11 hours ago
Yahya Toubali <yahya@yahyatoubali.me> writes:

> Remove the duplicate 'page' in the sentence describing large page
> allocation accounting. The extra word makes the description confusing.
>
> Signed-off-by: Yahya Toubali <yahya@yahyatoubali.me>
> ---
>  Documentation/filesystems/proc.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
> index 2ccd5b2dfdd3..d22ac0addd42 100644
> --- a/Documentation/filesystems/proc.rst
> +++ b/Documentation/filesystems/proc.rst
> @@ -513,7 +513,7 @@ In some kernel configurations, the semantics of pages part of a larger
>  allocation (e.g., THP) can differ: a page is accounted as "private" if all
>  pages part of the corresponding large allocation are *certainly* mapped in the
>  same process, even if the page is mapped multiple times in that process. A
> -page is accounted as "shared" if any page page of the larger allocation
> +page is accounted as "shared" if any page of the larger allocation
>  is *maybe* mapped in a different process. In some cases, a large allocation

Applied, thanks.

jon