Re: [PATCH v4 04/18] x86/sgx: Use sgx_epc_lru_lists for existing active page list

2023-09-13 Thread Jarkko Sakkinen
On Wed Sep 13, 2023 at 7:06 AM EEST, Haitao Huang wrote: > From: Kristen Carlson Accardi > > All EPC pages of enclaves including VA and SECS will be tracked in s/VA/Version Array (VA)/ s/SECS/SGX Enclave Control Structure (SECS)/ Just a nitpick, because it is always good to remind what these acr

[PATCH v4 04/18] x86/sgx: Use sgx_epc_lru_lists for existing active page list

2023-09-12 Thread Haitao Huang
From: Kristen Carlson Accardi All EPC pages of enclaves including VA and SECS will be tracked in sgx_epc_lru_lists structs, one per cgroup. For now just replace the existing sgx_active_page_list in the reclaimer and its spinlock with a global sgx_epc_lru_lists struct. VA and SECS pages are still