[PATCH] mm/mempolicy.c: fix 'if ();' typo
[akpm; it happens that the code was still correct, only inefficient ] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Christoph Lameter <christoph@lameter.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
1dd31b6c89
commit
fcab6f3513
@@ -587,7 +587,7 @@ redo:
|
|||||||
}
|
}
|
||||||
list_add(&page->lru, &newlist);
|
list_add(&page->lru, &newlist);
|
||||||
nr_pages++;
|
nr_pages++;
|
||||||
if (nr_pages > MIGRATE_CHUNK_SIZE);
|
if (nr_pages > MIGRATE_CHUNK_SIZE)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
err = migrate_pages(pagelist, &newlist, &moved, &failed);
|
err = migrate_pages(pagelist, &newlist, &moved, &failed);
|
||||||
|
Reference in New Issue
Block a user