diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 0960846d649f..d6942436ac97 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1362,7 +1362,7 @@ unsigned long shrink_all_memory(unsigned long nr_pages) | |||
1362 | for_each_zone(zone) | 1362 | for_each_zone(zone) |
1363 | lru_pages += zone->nr_active + zone->nr_inactive; | 1363 | lru_pages += zone->nr_active + zone->nr_inactive; |
1364 | 1364 | ||
1365 | nr_slab = read_page_state(nr_slab); | 1365 | nr_slab = global_page_state(NR_SLAB); |
1366 | /* If slab caches are huge, it's better to hit them first */ | 1366 | /* If slab caches are huge, it's better to hit them first */ |
1367 | while (nr_slab >= lru_pages) { | 1367 | while (nr_slab >= lru_pages) { |
1368 | reclaim_state.reclaimed_slab = 0; | 1368 | reclaim_state.reclaimed_slab = 0; |