Re: [PATCH v10 12/14] x86/sgx: Turn on per-cgroup EPC reclamation

From: Huang, Kai
Date: Mon Apr 08 2024 - 18:37:43 EST




On 9/04/2024 6:03 am, Haitao Huang wrote:


The misc root cgroup is a static similar to sgx_cg_root. So misc_cg_root()  won't be NULL
However, based on how css_misc() was check NULL, I suppose sgx_get_current_cg() may be NULL when cgroup is disabled (again not 100% sure but we handle it anyway)

Could you help to check? Sorry I am busy on something else thus won't be able to do any actual check.