#include <linux/mm.h>
#include <linux/page-isolation.h>
unsigned int _debug_guardpage_minorder;
bool _debug_pagealloc_enabled_early __read_mostly
= … IS_ENABLED(…);
EXPORT_SYMBOL(…);
DEFINE_STATIC_KEY_FALSE(_debug_pagealloc_enabled);
EXPORT_SYMBOL(…);
DEFINE_STATIC_KEY_FALSE(_debug_guardpage_enabled);
static int __init early_debug_pagealloc(char *buf)
{ … }
early_param(…);
static int __init debug_guardpage_minorder_setup(char *buf)
{ … }
early_param(…);
bool __set_page_guard(struct zone *zone, struct page *page, unsigned int order)
{ … }
void __clear_page_guard(struct zone *zone, struct page *page, unsigned int order)
{ … }