V2 incoming soon. My first patch :)
On May 17, 2017 11:35, "Randy Dunlap" <rdunlap@xxxxxxxxxxxxx> wrote:
On 05/17/17 06:38, Michael DeGuzis wrote:
> From: professorkaos64 <mdeguzis@xxxxxxxxx>
>
> 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 | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/mm/huge_memory.c b/mm/huge_memory.c
> index a84909cf20d3..af137fc0ca09 100644
> --- a/mm/huge_memory.c
> +++ b/mm/huge_memory.c
> @@ -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.
Several of the new (+) patch lines end with a space character. Not good.
> */
> unsigned long transparent_hugepage_flags __read_mostly =
> #ifdef CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS
>
--
~Randy