Re: [PATCH v8 08/15] x86/sgx: Implement EPC reclamation flows for cgroup

2024-02-01 Thread Jarkko Sakkinen
On Tue Jan 30, 2024 at 4:09 AM EET, Haitao Huang wrote: > From: Kristen Carlson Accardi > > Implement the reclamation flow for cgroup, encapsulated in the top-level > function sgx_epc_cgroup_reclaim_pages(). It does a pre-order walk on its > subtree, and make calls to sgx_reclaim_pages() at each n

[PATCH v8 08/15] x86/sgx: Implement EPC reclamation flows for cgroup

2024-01-29 Thread Haitao Huang
From: Kristen Carlson Accardi Implement the reclamation flow for cgroup, encapsulated in the top-level function sgx_epc_cgroup_reclaim_pages(). It does a pre-order walk on its subtree, and make calls to sgx_reclaim_pages() at each node passing in the LRU of that node. It keeps track of total recl