linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: ksm: Fix a typo in comment "alreaady"->"already"
@ 2020-04-10 16:24 Ethon Paul
  2020-04-10 19:25 ` Ralph Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Ethon Paul @ 2020-04-10 16:24 UTC (permalink / raw)
  To: akpm, linux-mm, linux-kernel; +Cc: Ethon Paul

There is a typo in comment, fix it.

Signed-off-by: Ethon Paul <ethp@qq.com>
---
 mm/ksm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/ksm.c b/mm/ksm.c
index a558da9e7177..7ff8fc180a4b 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -1148,7 +1148,7 @@ static int replace_page(struct vm_area_struct *vma, struct page *page,
 
 	/*
 	 * No need to check ksm_use_zero_pages here: we can only have a
-	 * zero_page here if ksm_use_zero_pages was enabled alreaady.
+	 * zero_page here if ksm_use_zero_pages was enabled already.
 	 */
 	if (!is_zero_pfn(page_to_pfn(kpage))) {
 		get_page(kpage);
-- 
2.24.1 (Apple Git-126)



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mm: ksm: Fix a typo in comment "alreaady"->"already"
  2020-04-10 16:24 [PATCH] mm: ksm: Fix a typo in comment "alreaady"->"already" Ethon Paul
@ 2020-04-10 19:25 ` Ralph Campbell
  0 siblings, 0 replies; 4+ messages in thread
From: Ralph Campbell @ 2020-04-10 19:25 UTC (permalink / raw)
  To: Ethon Paul, akpm, linux-mm, linux-kernel


On 4/10/20 9:24 AM, Ethon Paul wrote:
> There is a typo in comment, fix it.
> 
> Signed-off-by: Ethon Paul <ethp@qq.com>

Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>

Maybe also change line 615, 1846, s/wrprotected/write protected
and line 2004, s/undeflow/underflow

> ---
>   mm/ksm.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/ksm.c b/mm/ksm.c
> index a558da9e7177..7ff8fc180a4b 100644
> --- a/mm/ksm.c
> +++ b/mm/ksm.c
> @@ -1148,7 +1148,7 @@ static int replace_page(struct vm_area_struct *vma, struct page *page,
>   
>   	/*
>   	 * No need to check ksm_use_zero_pages here: we can only have a
> -	 * zero_page here if ksm_use_zero_pages was enabled alreaady.
> +	 * zero_page here if ksm_use_zero_pages was enabled already.
>   	 */
>   	if (!is_zero_pfn(page_to_pfn(kpage))) {
>   		get_page(kpage);
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mm: ksm: Fix a typo in comment "alreaady"->"already"
  2020-04-11  2:33 Ethon Paul
@ 2020-04-11  2:35 ` Ethon Paul
  0 siblings, 0 replies; 4+ messages in thread
From: Ethon Paul @ 2020-04-11  2:35 UTC (permalink / raw)
  To: akpm, linux-mm, linux-kernel, rcampbell

Sent the wrong patch version, please ignore it.

> There is a typo in comment, fix it.
>
> Signed-off-by: Ethon Paul <ethp@qq.com>
> ---
>   mm/ksm.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/ksm.c b/mm/ksm.c
> index a558da9e7177..7ff8fc180a4b 100644
> --- a/mm/ksm.c
> +++ b/mm/ksm.c
> @@ -1148,7 +1148,7 @@ static int replace_page(struct vm_area_struct *vma, struct page *page,
>   
>   	/*
>   	 * No need to check ksm_use_zero_pages here: we can only have a
> -	 * zero_page here if ksm_use_zero_pages was enabled alreaady.
> +	 * zero_page here if ksm_use_zero_pages was enabled already.
>   	 */
>   	if (!is_zero_pfn(page_to_pfn(kpage))) {
>   		get_page(kpage);


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] mm: ksm: Fix a typo in comment "alreaady"->"already"
@ 2020-04-11  2:33 Ethon Paul
  2020-04-11  2:35 ` Ethon Paul
  0 siblings, 1 reply; 4+ messages in thread
From: Ethon Paul @ 2020-04-11  2:33 UTC (permalink / raw)
  To: akpm, linux-mm, linux-kernel, rcampbell; +Cc: Ethon Paul

There is a typo in comment, fix it.

Signed-off-by: Ethon Paul <ethp@qq.com>
---
 mm/ksm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/ksm.c b/mm/ksm.c
index a558da9e7177..7ff8fc180a4b 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -1148,7 +1148,7 @@ static int replace_page(struct vm_area_struct *vma, struct page *page,
 
 	/*
 	 * No need to check ksm_use_zero_pages here: we can only have a
-	 * zero_page here if ksm_use_zero_pages was enabled alreaady.
+	 * zero_page here if ksm_use_zero_pages was enabled already.
 	 */
 	if (!is_zero_pfn(page_to_pfn(kpage))) {
 		get_page(kpage);
-- 
2.24.1 (Apple Git-126)



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-11  2:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-10 16:24 [PATCH] mm: ksm: Fix a typo in comment "alreaady"->"already" Ethon Paul
2020-04-10 19:25 ` Ralph Campbell
2020-04-11  2:33 Ethon Paul
2020-04-11  2:35 ` Ethon Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).