linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH next-20141127] mm: Fix comment typo "CONFIG_TRANSPARNTE_HUGE"
@ 2014-11-27 12:57 Paul Bolle
  2014-12-01  0:31 ` Minchan Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2014-11-27 12:57 UTC (permalink / raw)
  To: Minchan Kim, Andrew Morton; +Cc: Valentin Rothberg, linux-mm, linux-kernel

The commit "mm: don't split THP page when syscall is called" added a
reference to CONFIG_TRANSPARNTE_HUGE in a comment. Use
CONFIG_TRANSPARENT_HUGEPAGE instead, as was probably intended.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Compile tested.

If commit "mm: don't split THP page when syscall is called" is not yet
set in stone, I would prefer if this trivial fix would be squashed into
that commit.

 mm/rmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/rmap.c b/mm/rmap.c
index d2a6e136b08d..95d394bbb6ab 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -708,7 +708,7 @@ static int page_referenced_one(struct page *page, struct vm_area_struct *vma,
 		/*
 		 * Use pmd_freeable instead of raw pmd_dirty because in some
 		 * of architecture, pmd_dirty is not defined unless
-		 * CONFIG_TRANSPARNTE_HUGE is enabled
+		 * CONFIG_TRANSPARENT_HUGEPAGE is enabled
 		 */
 		if (!pmd_freeable(*pmd))
 			dirty++;
-- 
1.9.3

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [PATCH next-20141127] mm: Fix comment typo "CONFIG_TRANSPARNTE_HUGE"
  2014-11-27 12:57 [PATCH next-20141127] mm: Fix comment typo "CONFIG_TRANSPARNTE_HUGE" Paul Bolle
@ 2014-12-01  0:31 ` Minchan Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Minchan Kim @ 2014-12-01  0:31 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Andrew Morton, Valentin Rothberg, linux-mm, linux-kernel

Hello,

On Thu, Nov 27, 2014 at 01:57:11PM +0100, Paul Bolle wrote:
> The commit "mm: don't split THP page when syscall is called" added a
> reference to CONFIG_TRANSPARNTE_HUGE in a comment. Use
> CONFIG_TRANSPARENT_HUGEPAGE instead, as was probably intended.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Minchan Kim <minchan@kernel.org>

Thanks!

> ---
> Compile tested.
> 
> If commit "mm: don't split THP page when syscall is called" is not yet
> set in stone, I would prefer if this trivial fix would be squashed into
> that commit.

Hope so. :)

> 
>  mm/rmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/rmap.c b/mm/rmap.c
> index d2a6e136b08d..95d394bbb6ab 100644
> --- a/mm/rmap.c
> +++ b/mm/rmap.c
> @@ -708,7 +708,7 @@ static int page_referenced_one(struct page *page, struct vm_area_struct *vma,
>  		/*
>  		 * Use pmd_freeable instead of raw pmd_dirty because in some
>  		 * of architecture, pmd_dirty is not defined unless
> -		 * CONFIG_TRANSPARNTE_HUGE is enabled
> +		 * CONFIG_TRANSPARENT_HUGEPAGE is enabled
>  		 */
>  		if (!pmd_freeable(*pmd))
>  			dirty++;
> -- 
> 1.9.3
> 
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org.  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

-- 
Kind regards,
Minchan Kim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2014-12-01  0:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-27 12:57 [PATCH next-20141127] mm: Fix comment typo "CONFIG_TRANSPARNTE_HUGE" Paul Bolle
2014-12-01  0:31 ` Minchan Kim

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