diff mbox series

mm: ksm: Fix a typo in comment "alreaady"->"already"

Message ID 20200410162427.13927-1-ethp@qq.com (mailing list archive)
State New, archived
Headers show
Series mm: ksm: Fix a typo in comment "alreaady"->"already" | expand

Commit Message

Ethon Paul April 10, 2020, 4:24 p.m. UTC
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(-)

Comments

Ralph Campbell April 10, 2020, 7:25 p.m. UTC | #1
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);
>
diff mbox series

Patch

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);