[RFC PATCH v3 3/8] mm: migrate: allocate the right size of non hugetlb or THP compound pages.
David Hildenbrand
david at redhat.com
Wed Jan 12 22:04:30 AEDT 2022
On 05.01.22 22:47, Zi Yan wrote:
> From: Zi Yan <ziy at nvidia.com>
>
> alloc_migration_target() is used by alloc_contig_range() and non-LRU
> movable compound pages can be migrated. Current code does not allocate the
> right page size for such pages. Check THP precisely using
> is_transparent_huge() and add allocation support for non-LRU compound
> pages.
IIRC, we don't have any non-lru migratable pages that are coumpound
pages. Read: not used and not supported :)
Why is this required in the context of this series?
--
Thanks,
David / dhildenb
More information about the Linuxppc-dev
mailing list