Re: [PATCH next-20141127] mm: Fix comment typo "CONFIG_TRANSPARNTE_HUGE"
From: Minchan Kim
Date: Sun Nov 30 2014 - 19:31:46 EST
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@xxxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>
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@xxxxxxxxxx For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>
--
Kind regards,
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/