lkml.org 
[lkml]   [2018]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC, PATCH 13/22] mm, rmap: Free encrypted pages once mapcount drops to zero
    From
    Date
    On 03/06/2018 12:27 AM, Kirill A. Shutemov wrote:
    > + anon_vma = page_anon_vma(page);
    > + if (anon_vma_encrypted(anon_vma)) {
    > + int keyid = anon_vma_keyid(anon_vma);
    > + free_encrypt_page(page, keyid, compound_order(page));
    > + }
    > }

    So, just double-checking: free_encrypt_page() neither "frees and
    encrypts the page"" nor "free an encrypted page"?

    That seems a bit suboptimal. :)

    \
     
     \ /
      Last update: 2018-03-06 15:59    [W:3.684 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site