Loading mm/page_alloc.c +8 −0 Original line number Diff line number Diff line Loading @@ -3080,6 +3080,14 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, continue; for (mt = 0; mt < MIGRATE_PCPTYPES; mt++) { #ifdef CONFIG_CMA /* * Note that this check is needed only * when MIGRATE_CMA < MIGRATE_PCPTYPES. */ if (mt == MIGRATE_CMA) continue; #endif if (!list_empty(&area->free_list[mt])) return true; } Loading Loading
mm/page_alloc.c +8 −0 Original line number Diff line number Diff line Loading @@ -3080,6 +3080,14 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, continue; for (mt = 0; mt < MIGRATE_PCPTYPES; mt++) { #ifdef CONFIG_CMA /* * Note that this check is needed only * when MIGRATE_CMA < MIGRATE_PCPTYPES. */ if (mt == MIGRATE_CMA) continue; #endif if (!list_empty(&area->free_list[mt])) return true; } Loading