Thread (25 messages) 25 messages, 4 authors, 2021-03-05

Re: [PATCH v3 2/2] mm: Make alloc_contig_range handle in-use hugetlb pages

From: David Hildenbrand <hidden>
Date: 2021-03-05 17:31:30
Also in: lkml

On 22.02.21 14:51, Oscar Salvador wrote:
alloc_contig_range() will fail if it finds a HugeTLB page within the range,
without a chance to handle them. Since HugeTLB pages can be migrated as any
LRU or Movable page, it does not make sense to bail out without trying.
Enable the interface to recognize in-use HugeTLB pages so we can migrate
them, and have much better chances to succeed the call.

Signed-off-by: Oscar Salvador <osalvador@suse.de>
LGTM as far as I can tell, I am only wondering if it wouldn't even be 
cleaner to squash both patches.

-- 
Thanks,

David / dhildenb

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help