Messages in this thread | | | Subject | Re: [RFC PATCH 2/3] hugetlb: convert page_huge_active() to HPageMigratable flag | From | Mike Kravetz <> | Date | Fri, 15 Jan 2021 13:25:09 -0800 |
| |
On 1/15/21 12:29 PM, Oscar Salvador wrote: > > About that alloc_contig_range topic, I would like to take a look unless > someone is already on it or about to be. > > Thanks Mike for the time ;-)
Feel free.
My first thought is that migration of a free hugetlb page would need to be something like: 1) allocate a fresh hugetlb page from buddy 2) free the 'migrated' free huge page back to buddy
I do not think we can use the existing 'isolate-migrate' flow. Isolating a page would make it unavailable for allocation and that could cause application issues.
-- Mike Kravetz
| |