Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176308
b: refs/heads/master
c: 62c0c2f
h: refs/heads/master
v: v3
  • Loading branch information
Huang Shijie authored and Linus Torvalds committed Dec 15, 2009
1 parent de94a00 commit 5ec2c1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: b39415b2731d7dec5e612d2d12595da82399eedf
refs/heads/master: 62c0c2f198c1f2ead05c961e83ef486c45888325
6 changes: 2 additions & 4 deletions trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1165,10 +1165,8 @@ static unsigned long shrink_inactive_list(unsigned long max_scan,
__mod_zone_page_state(zone, NR_ISOLATED_ANON, nr_anon);
__mod_zone_page_state(zone, NR_ISOLATED_FILE, nr_file);

reclaim_stat->recent_scanned[0] += count[LRU_INACTIVE_ANON];
reclaim_stat->recent_scanned[0] += count[LRU_ACTIVE_ANON];
reclaim_stat->recent_scanned[1] += count[LRU_INACTIVE_FILE];
reclaim_stat->recent_scanned[1] += count[LRU_ACTIVE_FILE];
reclaim_stat->recent_scanned[0] += nr_anon;
reclaim_stat->recent_scanned[1] += nr_file;

spin_unlock_irq(&zone->lru_lock);

Expand Down

0 comments on commit 5ec2c1b

Please sign in to comment.