Re: [PATCH v4 15/18] x86/sgx: Prepare for multiple LRUs

2023-09-15 Thread Haitao Huang
On Wed, 13 Sep 2023 10:42:52 -0500, Jarkko Sakkinen wrote: On Wed Sep 13, 2023 at 7:06 AM EEST, Haitao Huang wrote: Add sgx_can_reclaim() wrapper and encapsulate direct references to the global LRU list in the reclaimer functions so that they can be called with an LRU list per EPC cgroup.

Re: [PATCH v4 15/18] x86/sgx: Prepare for multiple LRUs

2023-09-13 Thread Jarkko Sakkinen
On Wed Sep 13, 2023 at 7:06 AM EEST, Haitao Huang wrote: > Add sgx_can_reclaim() wrapper and encapsulate direct references to the > global LRU list in the reclaimer functions so that they can be called with > an LRU list per EPC cgroup. > > Signed-off-by: Sean Christopherson > Signed-off-by: Krist