diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 104ee6b4809ef9..24b7fb3ca1507f 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -3233,11 +3233,10 @@ static void __drain_all_pages(struct zone *zone, bool force_all_cpus) } for_each_cpu(cpu, &cpus_with_pcps) { - if (zone) { + if (zone) drain_pages_zone(cpu, zone); - } else { + else drain_pages(cpu); - } } mutex_unlock(&pcpu_drain_mutex);