Re: [PATCH] mm/mempolicy.c: fix 'if ();' typo

From: Andrew Morton
Date: Mon Feb 20 2006 - 15:37:09 EST


Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
>
> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
> ---
>
> mm/mempolicy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/mm/mempolicy.c
> +++ b/mm/mempolicy.c
> @@ -587,7 +587,7 @@ redo:
> }
> list_add(&page->lru, &newlist);
> nr_pages++;
> - if (nr_pages > MIGRATE_CHUNK_SIZE);
> + if (nr_pages > MIGRATE_CHUNK_SIZE)
> break;
> }
> err = migrate_pages(pagelist, &newlist, &moved, &failed);

rofl. That should speed things up a bit, thanks.
-
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/