+static void mark_pages(struct page *page, int order)
+{
+ struct page *last_page = page + (1 << order);
+ while (page < last_page)
+ SetPageReserved(page++);
+}
+
+static void unmark_pages(struct page *page, int order)
+{
+ struct page *last_page = page + (1 << order);
+ while (page < last_page)
+ ClearPageReserved(page++);
+}
+