lkml.org 
[lkml]   [2012]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: fix spelling error
On Sat,  3 Mar 2012 16:13:16 +0200
Copot Alexandru <alex.mihai.c@gmail.com> wrote:

> Signed-off-by: Copot Alexandru <alex.mihai.c@gmail.com>
> ---
> mm/vmscan.c | 14 +++++++-------
> 1 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index c52b235..8a7c989 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c
> @@ -2250,13 +2250,13 @@ static bool shrink_zones(int priority, struct zonelist *zonelist,
> continue; /* Let kswapd poll it */
> if (COMPACTION_BUILD) {
> /*
> - * If we already have plenty of memory free for
> - * compaction in this zone, don't free any more.
> - * Even though compaction is invoked for any
> - * non-zero order, only frequent costly order
> - * reclamation is disruptive enough to become a
> - * noticable problem, like transparent huge page
> - * allocations.
> + * If we already have plenty of memory free
> + * for compaction in this zone, don't free any
> + * more. Even though compaction is invoked
> + * for any non-zero order, only frequent
> + * costly order reclamation is disruptive
> + * enough to become a noticeable problem, like
> + * transparent huge page allocations.
> */
> if (compaction_ready(zone, sc)) {
> aborted_reclaim = true;

hm, you appear to have reformatted the comment to fit into 78 column or
something. We have 80 to use!

AFACIT the sole spelling mistake was s/noticable/noticeable/.

More significantly, the comment is hard to follow. Perhaps removing
the "only" wold fix it up.




\
 
 \ /
  Last update: 2012-03-07 01:33    [W:0.030 / U:6.352 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site