Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164394
b: refs/heads/master
c: 74a1c48
h: refs/heads/master
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Sep 22, 2009
1 parent aafd829 commit 9287f9d
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: 5205e56eeab04ce02f8bb6b47d1569b216bc0b6a
refs/heads/master: 74a1c48fb4e9f10e3c83dcd39af73487968e35bf
4 changes: 2 additions & 2 deletions trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1208,8 +1208,8 @@ static unsigned long shrink_inactive_list(unsigned long max_scan,
SetPageLRU(page);
lru = page_lru(page);
add_page_to_lru_list(zone, page, lru);
if (PageActive(page)) {
int file = !!page_is_file_cache(page);
if (is_active_lru(lru)) {
int file = !!is_file_lru(lru);
reclaim_stat->recent_rotated[file]++;
}
if (!pagevec_add(&pvec, page)) {
Expand Down

0 comments on commit 9287f9d

Please sign in to comment.