/** *page_reporting_notify_free-Freepagenotificationtostartpageprocessing * *Thisfunctionismeanttoactasascreenerfor__page_reporting_notify *whichwilldetermineifagivezonehascrossedoverthehigh-watermark *thatwilljustifyusbeginningpagetreatment.Ifwehavecrossedthat *thresholdthenitwillstarttheprocessofpullingsomepagesand *placingtheminthebatchlistfortreatment.
*/ 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.