Re: [PATCH v16 12/16] x86/sgx: Revise global reclamation for EPC cgroups

2024-08-27 Thread Huang, Kai
On 27/08/2024 11:32 pm, Huang, Kai wrote: On Tue, 2024-08-20 at 18:54 -0700, Haitao Huang wrote: With EPC cgroups, the global reclamation function, sgx_reclaim_pages_global(), can no longer apply to the global LRU as pages are now in per-cgroup LRUs. Create a wrapper, sgx_cgroup_reclaim_glob

Re: [PATCH v16 12/16] x86/sgx: Revise global reclamation for EPC cgroups

2024-08-27 Thread Jarkko Sakkinen
On Wed Aug 21, 2024 at 4:54 AM EEST, Haitao Huang wrote: > With EPC cgroups, the global reclamation function, > sgx_reclaim_pages_global(), can no longer apply to the global LRU as > pages are now in per-cgroup LRUs. > > Create a wrapper, sgx_cgroup_reclaim_global() to invoke > sgx_cgroup_reclaim_p

Re: [PATCH v16 12/16] x86/sgx: Revise global reclamation for EPC cgroups

2024-08-27 Thread Huang, Kai
On Tue, 2024-08-20 at 18:54 -0700, Haitao Huang wrote: > With EPC cgroups, the global reclamation function, > sgx_reclaim_pages_global(), can no longer apply to the global LRU as > pages are now in per-cgroup LRUs. > > Create a wrapper, sgx_cgroup_reclaim_global() to invoke > sgx_cgroup_reclaim_pa