|
@@ -588,22 +588,15 @@ pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address,
|
|
|
return pmd;
|
|
|
}
|
|
|
|
|
|
-int pmdp_test_and_clear_young(struct vm_area_struct *vma,
|
|
|
- unsigned long address, pmd_t *pmdp)
|
|
|
-{
|
|
|
- return __pmdp_test_and_clear_young(vma->vm_mm, address, pmdp);
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* We currently remove entries from the hashtable regardless of whether
|
|
|
- * the entry was young or dirty. The generic routines only flush if the
|
|
|
- * entry was young or dirty which is not good enough.
|
|
|
+ * the entry was young or dirty.
|
|
|
*
|
|
|
* We should be more intelligent about this but for the moment we override
|
|
|
* these functions and force a tlb flush unconditionally
|
|
|
*/
|
|
|
-int pmdp_clear_flush_young(struct vm_area_struct *vma,
|
|
|
- unsigned long address, pmd_t *pmdp)
|
|
|
+int pmdp_test_and_clear_young(struct vm_area_struct *vma,
|
|
|
+ unsigned long address, pmd_t *pmdp)
|
|
|
{
|
|
|
return __pmdp_test_and_clear_young(vma->vm_mm, address, pmdp);
|
|
|
}
|