# Re: \[PATCH v14 062/138\] mm/migrate: Add folio\_migrate\_copy()

- From: Vlastimil Babka \<hidden\>
- Date: 2021-08-12 11:56:29 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212188
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/5.md

```text
On 7/15/21 5:35 AM, Matthew Wilcox (Oracle) wrote:
> This is the folio equivalent of migrate_page_copy(), which is retained
> as a wrapper for filesystems which are not yet converted to folios.
> Also convert copy_huge_page() to folio_copy().
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>

Acked-by: Vlastimil Babka <redacted>

The way folio_copy() avoids cond_resched() for single page would IMHO deserve a
comment though, so it's not buried only in this thread.

```
