|
@@ -33,6 +33,7 @@
|
|
|
#include <linux/page_idle.h>
|
|
#include <linux/page_idle.h>
|
|
|
#include <linux/shmem_fs.h>
|
|
#include <linux/shmem_fs.h>
|
|
|
#include <linux/oom.h>
|
|
#include <linux/oom.h>
|
|
|
|
|
+#include <linux/page_owner.h>
|
|
|
|
|
|
|
|
#include <asm/tlb.h>
|
|
#include <asm/tlb.h>
|
|
|
#include <asm/pgalloc.h>
|
|
#include <asm/pgalloc.h>
|
|
@@ -2477,6 +2478,9 @@ static void __split_huge_page(struct page *page, struct list_head *list,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
ClearPageCompound(head);
|
|
ClearPageCompound(head);
|
|
|
|
|
+
|
|
|
|
|
+ split_page_owner(head, HPAGE_PMD_ORDER);
|
|
|
|
|
+
|
|
|
/* See comment in __split_huge_page_tail() */
|
|
/* See comment in __split_huge_page_tail() */
|
|
|
if (PageAnon(head)) {
|
|
if (PageAnon(head)) {
|
|
|
/* Additional pin to radix tree of swap cache */
|
|
/* Additional pin to radix tree of swap cache */
|