Go to the documentation of this file.
23 #ifndef PAGEBLOCK_FLAGS_H
24 #define PAGEBLOCK_FLAGS_H
26 #include <linux/types.h>
33 #ifdef CONFIG_COMPACTION
39 #ifdef CONFIG_HUGETLB_PAGE
41 #ifdef CONFIG_HUGETLB_PAGE_SIZE_VARIABLE
49 #define pageblock_order HUGETLB_PAGE_ORDER
56 #define pageblock_order (MAX_ORDER-1)
60 #define pageblock_nr_pages (1UL << pageblock_order)
67 int start_bitidx,
int end_bitidx);
69 int start_bitidx,
int end_bitidx);
71 #ifdef CONFIG_COMPACTION
72 #define get_pageblock_skip(page) \
73 get_pageblock_flags_group(page, PB_migrate_skip, \
75 #define clear_pageblock_skip(page) \
76 set_pageblock_flags_group(page, 0, PB_migrate_skip, \
78 #define set_pageblock_skip(page) \
79 set_pageblock_flags_group(page, 1, PB_migrate_skip, \
83 #define get_pageblock_flags(page) \
84 get_pageblock_flags_group(page, 0, PB_migrate_end)
85 #define set_pageblock_flags(page, flags) \
86 set_pageblock_flags_group(page, flags, \