lkml.org 
[lkml]   [2021]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 2/3] hugetlb: convert page_huge_active() to HPageMigratable flag
From
Date
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

\
 
 \ /
  Last update: 2021-01-15 22:27    [W:0.059 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site