[lkml]   [2020]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 2/2] mm,thp,compaction,cma: allow THP migration for CMA allocations
On 2/27/20 10:32 PM, Rik van Riel wrote:
> The code to implement THP migrations already exists, and the code
> for CMA to clear out a region of memory already exists.
> Only a few small tweaks are needed to allow CMA to move THP memory
> when attempting an allocation from alloc_contig_range.
> With these changes, migrating THPs from a CMA area works when
> allocating a 1GB hugepage from CMA memory.
> Signed-off-by: Rik van Riel <>
> Reviewed-by: Zi Yan <>

With the followup fix,

Reviewed-by: Vlastimil Babka <>


 \ /
  Last update: 2020-03-02 10:33    [W:0.067 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site