X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Fmemory.c;h=1ce2e2a734fc2b0812845279a69cb87f48588d3e;hb=e497a24d8e18af510879b2ae059ee20a4a58eae8;hp=b68812d682b66c24e306d955ddbcb125e658e708;hpb=da89bd213fe719ec3552abbeb8be12d0cc0337ca;p=~andy%2Flinux diff --git a/mm/memory.c b/mm/memory.c index b68812d682b..1ce2e2a734f 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1150,7 +1150,7 @@ again: if (pte_dirty(ptent)) set_page_dirty(page); if (pte_young(ptent) && - likely(!VM_SequentialReadHint(vma))) + likely(!(vma->vm_flags & VM_SEQ_READ))) mark_page_accessed(page); rss[MM_FILEPAGES]--; }