lkml.org 
[lkml]   [2018]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v13 09/13] x86/sgx: Enclave Page Cache (EPC) memory manager
From
Date
On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote:
> +struct sgx_epc_page_ops {
> + bool (*get)(struct sgx_epc_page *epc_page);
> + void (*put)(struct sgx_epc_page *epc_page);
> + bool (*reclaim)(struct sgx_epc_page *epc_page);
> + void (*block)(struct sgx_epc_page *epc_page);
> + void (*write)(struct sgx_epc_page *epc_page);
> +};

Why do we need a fancy, slow (retpoline'd) set of function pointers when
we only have one user of these (the SGX driver)?

\
 
 \ /
  Last update: 2018-08-27 23:17    [W:0.220 / U:26.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site