Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132261
b: refs/heads/master
c: 1d88552
h: refs/heads/master
i:
  132259: e039a13
v: v3
  • Loading branch information
Daisuke Nishimura authored and Linus Torvalds committed Mar 14, 2009
1 parent 5ac45e6 commit 31ad746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 84814d642a4f1f294bd675ab11aae1ca54c6cedb
refs/heads/master: 1d885526f2f3fffacee2ecb541270bd00168adff
2 changes: 1 addition & 1 deletion trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,6 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *zone,
* Move the pages to the [file or anon] inactive list.
*/
pagevec_init(&pvec, 1);
pgmoved = 0;
lru = LRU_BASE + file * LRU_FILE;

spin_lock_irq(&zone->lru_lock);
Expand All @@ -1274,6 +1273,7 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *zone,
*/
reclaim_stat->recent_rotated[!!file] += pgmoved;

pgmoved = 0;
while (!list_empty(&l_inactive)) {
page = lru_to_page(&l_inactive);
prefetchw_prev_lru_page(page, &l_inactive, flags);
Expand Down

0 comments on commit 31ad746

Please sign in to comment.