|
@@ -3193,6 +3193,12 @@ static int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /* TODO: handle PTE-mapped THP */
|
|
|
|
+ if (PageCompound(page)) {
|
|
|
|
+ pte_unmap_unlock(ptep, ptl);
|
|
|
|
+ return 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Avoid grouping on RO pages in general. RO pages shouldn't hurt as
|
|
* Avoid grouping on RO pages in general. RO pages shouldn't hurt as
|
|
* much anyway since they can be in shared cache state. This misses
|
|
* much anyway since they can be in shared cache state. This misses
|