git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: test PageSwapBacked in lumpy reclaim
[pandora-kernel.git]
/
mm
/
vmscan.c
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index
ba763be
..
b9eaa06
100644
(file)
--- a/
mm/vmscan.c
+++ b/
mm/vmscan.c
@@
-1215,7
+1215,7
@@
static unsigned long isolate_lru_pages(unsigned long nr_to_scan,
* anon page which don't already have a swap slot is
* pointless.
*/
- if (nr_swap_pages <= 0 && Page
Anon
(cursor_page) &&
+ if (nr_swap_pages <= 0 && Page
SwapBacked
(cursor_page) &&
!PageSwapCache(cursor_page))
break;