Re: [PATCH] mm: fix spelling error

From: Andrew Morton
Date: Tue Mar 06 2012 - 19:31:14 EST


On Sat, 3 Mar 2012 16:13:16 +0200
Copot Alexandru <alex.mihai.c@xxxxxxxxx> wrote:

> Signed-off-by: Copot Alexandru <alex.mihai.c@xxxxxxxxx>
> ---
> 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.


--
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/