Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233145
b: refs/heads/master
c: f0fdc5e
h: refs/heads/master
i:
  233143: a8afba6
v: v3
  • Loading branch information
Johannes Weiner authored and Linus Torvalds committed Feb 12, 2011
1 parent 4eb3943 commit a373838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 419d8c96dbfa558f00e623023917d0a5afc46129
refs/heads/master: f0fdc5e8e6f579310458aef43d1610a0bb5e81a4
4 changes: 2 additions & 2 deletions trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1882,12 +1882,12 @@ static void shrink_zone(int priority, struct zone *zone,
unsigned long nr[NR_LRU_LISTS];
unsigned long nr_to_scan;
enum lru_list l;
unsigned long nr_reclaimed;
unsigned long nr_reclaimed, nr_scanned;
unsigned long nr_to_reclaim = sc->nr_to_reclaim;
unsigned long nr_scanned = sc->nr_scanned;

restart:
nr_reclaimed = 0;
nr_scanned = sc->nr_scanned;
get_scan_count(zone, sc, nr, priority);

while (nr[LRU_INACTIVE_ANON] || nr[LRU_ACTIVE_FILE] ||
Expand Down

0 comments on commit a373838

Please sign in to comment.