Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22465
b: refs/heads/master
c: c9b02d9
h: refs/heads/master
i:
  22463: e247280
v: v3
  • Loading branch information
Wu Fengguang authored and Linus Torvalds committed Mar 22, 2006
1 parent 0605c79 commit aceee1e
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: 7fb2d46d396b2491818f8e43b01049b3234e6c07
refs/heads/master: c9b02d970c385a253edb36c87643b0df706b50b4
4 changes: 2 additions & 2 deletions trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1074,9 +1074,9 @@ static unsigned long isolate_lru_pages(unsigned long nr_to_scan,
{
unsigned long nr_taken = 0;
struct page *page;
unsigned long scan = 0;
unsigned long scan;

while (scan++ < nr_to_scan && !list_empty(src)) {
for (scan = 0; scan < nr_to_scan && !list_empty(src); scan++) {
struct list_head *target;
page = lru_to_page(src);
prefetchw_prev_lru_page(page, src, flags);
Expand Down

0 comments on commit aceee1e

Please sign in to comment.