Re: [PATCH 0/4] Alternative fixes for migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 Apr 2022, at 15:30, Matthew Wilcox (Oracle) wrote:

> I heartily endorse Zi Yan's minimal fixes.  These patches, drawn from
> my development tree and with absolutely no testing, are a different
> approach to fixing the problem.  I would have submitted these patches
> earlier if I'd known they were needed.
>
> I think migrate_misplaced_transhuge_page() may be missing from Zi's
> patch, but maybe filesystem pages can't end up in that path?  Anyway,
> let me know if you like these patches better.

Yeah, I thought numa faulting only works on anonymous pages. I was
wrong.

>
> Matthew Wilcox (Oracle) (4):
>   mm/migrate: Use a folio in alloc_migration_target()
>   mm/migrate: Use a folio in migrate_misplaced_transhuge_page()
>   mm: Add vma_alloc_folio()
>   mm/mempolicy: Use vma_alloc_folio() in new_page()
>
>  include/linux/gfp.h |  8 +++--
>  mm/mempolicy.c      | 38 +++++++++++++--------
>  mm/migrate.c        | 80 +++++++++++++++------------------------------
>  3 files changed, 56 insertions(+), 70 deletions(-)
>
> -- 
> 2.34.1

The whole series looks good to me. My patch can be dropped. Thanks.

Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

--
Best Regards,
Yan, Zi

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux