diff --git a/mm/page_alloc.c b/mm/page_alloc.c index d88d675847658b3d80e4b24a194e30459cb45446..8e766241cf566cf6f8a72b94e560f546858ed0f2 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -2035,7 +2035,7 @@ get_page_from_freelist(gfp_t gfp_mask, nodemask_t *nodemask, unsigned int order, if (page) break; this_zone_full: - if (IS_ENABLED(CONFIG_NUMA)) + if (IS_ENABLED(CONFIG_NUMA) && zlc_active) zlc_mark_zone_full(zonelist, z); }