Skip to contentSkip to conversation

Correct spelling and grammar for notification text

PATCH In review Michael DeGuzis 2 participants 3 messages May 17, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Correct spelling and grammar for notification text

From: professorkaos64 <[email protected]>

This patch fixes up some grammar and spelling in the information block for huge_memory.c.

---
 mm/huge_memory.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
mm/huge_memory.c +5 -5
index a84909cf20d3..af137fc0ca09 100644
@@ -38,12 +38,12 @@
 #include "internal.h"
 
 /*
- * By default transparent hugepage support is disabled in order that avoid
- * to risk increase the memory footprint of applications without a guaranteed
- * benefit. When transparent hugepage support is enabled, is for all mappings,
- * and khugepaged scans all mappings.
+ * By default, transparent hugepage support is disabled in order to avoid
+ * risking an increased memory footprint for applications that are not 
+ * guaranteed to benefit from it. When transparent hugepage support is 
+ * enabled, it is for all mappings, and khugepaged scans all mappings.
  * Defrag is invoked by khugepaged hugepage allocations and by page faults
- * for all hugepage allocations.
+ * for all hugepage allocations. 
  */
 unsigned long transparent_hugepage_flags __read_mostly =
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS
Signature · 7 lines
2.12.2

--
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>
#1 lore raw
Quoted 4 lines · Michael DeGuzis

From: professorkaos64 <[email protected]>

This patch fixes up some grammar and spelling in the information block for huge_memory.c.

Missing Signed-off-by: <real name and email address>

Quoted 13 lines
---
 mm/huge_memory.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
mm/huge_memory.c +0 -1
index a84909cf20d3..af137fc0ca09 100644
@@ -38,12 +38,12 @@
 #include "internal.h"
 
 /*
- * By default transparent hugepage support is disabled in order that avoid

mm/huge_memory.c line 46

Quoted 10 lines
mm/huge_memory.c +5 -4
- * to risk increase the memory footprint of applications without a guaranteed
- * benefit. When transparent hugepage support is enabled, is for all mappings,
- * and khugepaged scans all mappings.
+ * By default, transparent hugepage support is disabled in order to avoid
+ * risking an increased memory footprint for applications that are not 
+ * guaranteed to benefit from it. When transparent hugepage support is 
+ * enabled, it is for all mappings, and khugepaged scans all mappings.
  * Defrag is invoked by khugepaged hugepage allocations and by page faults
- * for all hugepage allocations.
+ * for all hugepage allocations. 

Several of the new (+) patch lines end with a space character. Not good.

Quoted 4 lines
mm/huge_memory.c +0 -0
  */
 unsigned long transparent_hugepage_flags __read_mostly =
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS
Signature · 7 lines
~Randy

--
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>
author
#2 lore raw

V2 incoming soon. My first patch :)

Quoted 48 lines · Randy Dunlap
Quoted 4 lines · Michael DeGuzis

From: professorkaos64 <[email protected]>

This patch fixes up some grammar and spelling in the information block for huge_memory.c.

Missing Signed-off-by: <real name and email address>

mm/huge_memory.c line 41

Quoted 13 lines
---
 mm/huge_memory.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
mm/huge_memory.c +0 -1
index a84909cf20d3..af137fc0ca09 100644
@@ -38,12 +38,12 @@
 #include "internal.h"
 
 /*
- * By default transparent hugepage support is disabled in order that

avoid

mm/huge_memory.c line 42

Quoted 1 line
mm/huge_memory.c +0 -1
- * to risk increase the memory footprint of applications without a

guaranteed

mm/huge_memory.c line 43

Quoted 1 line
mm/huge_memory.c +0 -1
- * benefit. When transparent hugepage support is enabled, is for all

mappings,

mm/huge_memory.c line 41

Quoted 2 lines
mm/huge_memory.c +1 -1
- * and khugepaged scans all mappings.
+ * By default, transparent hugepage support is disabled in order to

avoid

mm/huge_memory.c

Quoted 4 lines
mm/huge_memory.c +3 -0
+ * risking an increased memory footprint for applications that are not
+ * guaranteed to benefit from it. When transparent hugepage support is
+ * enabled, it is for all mappings, and khugepaged scans all mappings.
  * Defrag is invoked by khugepaged hugepage allocations and by page

faults

mm/huge_memory.c line 46

Quoted 2 lines
mm/huge_memory.c +1 -1
- * for all hugepage allocations.
+ * for all hugepage allocations.

Several of the new (+) patch lines end with a space character. Not good.

mm/huge_memory.c line 49

Quoted 4 lines
mm/huge_memory.c +0 -0
  */
 unsigned long transparent_hugepage_flags __read_mostly =
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS

--
~Randy