Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258143
b: refs/heads/master
c: 50a1598
h: refs/heads/master
i:
  258141: 89b1467
  258139: 6d8c194
  258135: 1471cc3
  258127: 5835f57
  258111: c576178
v: v3
  • Loading branch information
Martin Schwidefsky committed Jul 24, 2011
1 parent 5332d46 commit 28b4e8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: f433c4aec9999d1bf2ed8c328196f3b0ad5f75db
refs/heads/master: 50a15981a1fac7e019ff7c3cba87531fb580f065
6 changes: 3 additions & 3 deletions trunk/mm/rmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,11 +869,11 @@ int page_referenced(struct page *page,
vm_flags);
if (we_locked)
unlock_page(page);

if (page_test_and_clear_young(page_to_pfn(page)))
referenced++;
}
out:
if (page_test_and_clear_young(page_to_pfn(page)))
referenced++;

return referenced;
}

Expand Down

0 comments on commit 28b4e8a

Please sign in to comment.