diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index b3d3c64d15df19c4cbe96bae666c04c2891b9f2b..eb1a28469b66eb62f6604c148b89d664c8885a73 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -1625,7 +1625,6 @@ static int __ref __offline_pages(unsigned long start_pfn, cond_resched(); lru_add_drain_all(); - drain_all_pages(zone); pfn = scan_movable_pages(pfn, end_pfn); if (pfn) { diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 034b8b6043a326893cfbba9426e79059218eee14..8afb6f007f6826c373755cb865a11e267da01ad8 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -8196,7 +8196,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, */ lru_add_drain_all(); - drain_all_pages(cc.zone); order = 0; outer_start = start;