Skip to contentSkip to conversation

mm: Fix comment typo "CONFIG_TRANSPARNTE_HUGE"

PATCH In review Paul Bolle 2 participants 2 messages Nov 27, 2014 – Dec 1, 2014

Subsystems (2)
lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 mm: Fix comment typo "CONFIG_TRANSPARNTE_HUGE"

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.

---
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(-)
mm/rmap.c +1 -1
index d2a6e136b08d..95d394bbb6ab 100644
@@ -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++;
Signature · 7 lines
1.9.3

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Acked-by on v1 1/1
#1 lore raw

Hello,

Quoted 5 lines · Paul Bolle

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.

Thanks!

Quoted 6 lines

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

Quoted 25 lines
 mm/rmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/rmap.c +1 -1
index d2a6e136b08d..95d394bbb6ab 100644
@@ -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++;
Signature · 7 lines
1.9.3

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Signature · 2 lines
Kind regards,
Minchan Kim