lkml.org 
[lkml]   [2018]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCHv5 05/19] mm/page_alloc: Handle allocation for encrypted memory
From
Date
On 07/19/2018 01:27 AM, Kirill A. Shutemov wrote:
>> What other code might need prep_encrypted_page()?
>
> Custom pages allocators if these pages can end up in encrypted VMAs.
>
> It this case compaction creates own pool of pages to be used for
> allocation during page migration.

OK, that makes sense. It also sounds like some great information to add
near prep_encrypted_page().

Do we have any ability to catch cases like this if we get them wrong, or
will we just silently corrupt data?

\
 
 \ /
  Last update: 2018-07-19 16:06    [W:0.017 / U:3.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site