]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - include/linux/huge_mm.h
mm: thp: set the accessed flag for old pages on access fault
[~shefty/rdma-dev.git] / include / linux / huge_mm.h
index b31cb7da03466b6550d9fa9fd0e4359c2540c957..1af47755245944e9f25d794a1f18717960f49d46 100644 (file)
@@ -8,6 +8,10 @@ extern int do_huge_pmd_anonymous_page(struct mm_struct *mm,
 extern int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm,
                         pmd_t *dst_pmd, pmd_t *src_pmd, unsigned long addr,
                         struct vm_area_struct *vma);
+extern void huge_pmd_set_accessed(struct mm_struct *mm,
+                                 struct vm_area_struct *vma,
+                                 unsigned long address, pmd_t *pmd,
+                                 pmd_t orig_pmd, int dirty);
 extern int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma,
                               unsigned long address, pmd_t *pmd,
                               pmd_t orig_pmd);