Re: [PATCHv3 04/17] mm/page_alloc: Handle allocation for encrypted memory

2018-06-14 Thread Kirill A. Shutemov
On Wed, Jun 13, 2018 at 06:07:40PM +, Dave Hansen wrote: > On 06/12/2018 07:39 AM, Kirill A. Shutemov wrote: > > For encrypted memory, we need to allocated pages for a specific > > encryption KeyID. > > "allocate" ^ > > > There are two cases when we need to allocate a

Re: [PATCHv3 04/17] mm/page_alloc: Handle allocation for encrypted memory

2018-06-14 Thread Kirill A. Shutemov
On Wed, Jun 13, 2018 at 06:07:40PM +, Dave Hansen wrote: > On 06/12/2018 07:39 AM, Kirill A. Shutemov wrote: > > For encrypted memory, we need to allocated pages for a specific > > encryption KeyID. > > "allocate" ^ > > > There are two cases when we need to allocate a

Re: [PATCHv3 04/17] mm/page_alloc: Handle allocation for encrypted memory

2018-06-13 Thread Dave Hansen
On 06/12/2018 07:39 AM, Kirill A. Shutemov wrote: > For encrypted memory, we need to allocated pages for a specific > encryption KeyID. "allocate" ^ > There are two cases when we need to allocate a page for encryption: > > - Allocation for an encrypted VMA; > > -

Re: [PATCHv3 04/17] mm/page_alloc: Handle allocation for encrypted memory

2018-06-13 Thread Dave Hansen
On 06/12/2018 07:39 AM, Kirill A. Shutemov wrote: > For encrypted memory, we need to allocated pages for a specific > encryption KeyID. "allocate" ^ > There are two cases when we need to allocate a page for encryption: > > - Allocation for an encrypted VMA; > > -