projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd31b6
)
[PATCH] mm/mempolicy.c: fix 'if ();' typo
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 21 Feb 2006 02:28:10 +0000
(18:28 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:11 +0000
(20:00 -0800)
[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>
mm/mempolicy.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/mempolicy.c
b/mm/mempolicy.c
index 6422fe4781132f423150bf5334ec7bdc65e041e0..880831bd3003616cc7d44a8570f0d18fa41d0bfe 100644
(file)
--- 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);