lkml.org 
[lkml]   [2021]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()
From
Date
On 2/23/21 11:17 AM, Jarkko Sakkinen wrote:
> Instead, let's just:
>
> 1. Have a global sgx_free_epc_list and remove sgx_epc_section.
> Pages from this are allocated from this in LIFO fashion.
> 2. Instead add struct list_head node_list and use that for node
> associated pages.
> 3. Replace 'int section' with 'int node'.

I was thinking of something similar.

I'm fine with this approach.

\
 
 \ /
  Last update: 2021-02-23 20:25    [W:0.048 / U:1.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site