Re: [PATCH] mm: folio: use copy_highpage() instead of folio_migrate_copy() when copy once

From: Matthew Wilcox
Date: Tue Jul 27 2021 - 07:48:18 EST


On Tue, Jul 27, 2021 at 11:32:54AM +0800, Wang Qing wrote:
> folio_migrate_copy() will call cond_resched(), even if it only needs to be
> copied once, restore the previous implementation before there is a better
> solution: use copy_highpage() when copy once.

no. i already fixed this on july 22.

https://lore.kernel.org/linux-mm/YPmB60EwQPpEvdb%2F@xxxxxxxxxxxxxxxxxxxx/