/** * page_reporting_notify_free - Free page notification to start page processing * * This function is meant to act as a screener for __page_reporting_notify * which will determine if a give zone has crossed over the high-water mark * that will justify us beginning page treatment. If we have crossed that * threshold then it will start the process of pulling some pages and * placing them in the batch list for treatment.
*/ staticinlinevoid page_reporting_notify_free(unsignedint order)
{ /* Called from hot path in __free_one_page() */ if (!static_branch_unlikely(&page_reporting_enabled)) return;
/* Determine if we have crossed reporting threshold */ if (order < page_reporting_order) return;
/* This will add a few cycles, but should be called infrequently */
__page_reporting_notify();
} #else/* CONFIG_PAGE_REPORTING */ #define page_reported(_page) false
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.