|
@@ -655,6 +655,7 @@ PAGEFLAG_FALSE(DoubleMap)
|
|
|
#define PG_buddy 0x00000080
|
|
|
#define PG_balloon 0x00000100
|
|
|
#define PG_kmemcg 0x00000200
|
|
|
+#define PG_table 0x00000400
|
|
|
|
|
|
#define PageType(page, flag) \
|
|
|
((page->page_type & (PAGE_TYPE_BASE | flag)) == PAGE_TYPE_BASE)
|
|
@@ -693,6 +694,11 @@ PAGE_TYPE_OPS(Balloon, balloon)
|
|
|
*/
|
|
|
PAGE_TYPE_OPS(Kmemcg, kmemcg)
|
|
|
|
|
|
+/*
|
|
|
+ * Marks pages in use as page tables.
|
|
|
+ */
|
|
|
+PAGE_TYPE_OPS(Table, table)
|
|
|
+
|
|
|
extern bool is_free_buddy_page(struct page *page);
|
|
|
|
|
|
__PAGEFLAG(Isolated, isolated, PF_ANY);
|