diff options
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -601,9 +601,6 @@ int page_referenced(struct page *page, | |||
601 | int referenced = 0; | 601 | int referenced = 0; |
602 | int we_locked = 0; | 602 | int we_locked = 0; |
603 | 603 | ||
604 | if (TestClearPageReferenced(page)) | ||
605 | referenced++; | ||
606 | |||
607 | *vm_flags = 0; | 604 | *vm_flags = 0; |
608 | if (page_mapped(page) && page_rmapping(page)) { | 605 | if (page_mapped(page) && page_rmapping(page)) { |
609 | if (!is_locked && (!PageAnon(page) || PageKsm(page))) { | 606 | if (!is_locked && (!PageAnon(page) || PageKsm(page))) { |