git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memcg: use correct scan number at reclaim
[sfrench/cifs-2.6.git]
/
mm
/
vmscan.c
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index 6177e3bcd66bdc7b8fc74cb583d47bb89c4940ef..e89517141657bb6ecfa4c17cf1aceb8b76be78f6 100644
(file)
--- a/
mm/vmscan.c
+++ b/
mm/vmscan.c
@@
-1469,7
+1469,7
@@
static void shrink_zone(int priority, struct zone *zone,
int file = is_file_lru(l);
int scan;
- scan = zone_
page_state(zone, NR_LRU_BASE +
l);
+ scan = zone_
nr_pages(zone, sc,
l);
if (priority) {
scan >>= priority;
scan = (scan * percent[file]) / 100;