lkml.org 
[lkml]   [2021]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 0/3] hugetlb: add demote/split page functionality
From
Date
> I need to take a close look at Oscar's patches.  Too many thing to look
> at/review :)
>
> This series does take into account gigantic pages allocated in CMA.
> Such pages can be demoted, and we need to track that they need to go
> back to CMA. Nothing super special for this, mostly a new hugetlb
> specific flag to track such pages.

Ah, just spotted it - patch #2 :)

Took me a while to figure out that we end up calling
cma_declare_contiguous_nid() with order_per_bit=0 - would have thought
we would be using the actual smallest allocation order we end up using
for huge/gigantic pages via CMA. Well, this way it "simply works".

--
Thanks,

David / dhildenb

\
 
 \ /
  Last update: 2021-03-09 20:03    [W:0.123 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site