Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217464
b: refs/heads/master
c: 2e30244
h: refs/heads/master
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Oct 26, 2010
1 parent c6acc3b commit 70f4889
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: 4cbec4c8b9fda9ec784086fe7f74cd32a8adda95
refs/heads/master: 2e30244a7cc1ff09013a1238d415b4076406388e
2 changes: 1 addition & 1 deletion trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ static enum page_references page_check_references(struct page *page,
}

/* Reclaim if clean, defer dirty pages to writeback */
if (referenced_page)
if (referenced_page && !PageSwapBacked(page))
return PAGEREF_RECLAIM_CLEAN;

return PAGEREF_RECLAIM;
Expand Down

0 comments on commit 70f4889

Please sign in to comment.