On Wed, 2024-04-10 at 11:25 -0700, Haitao Huang wrote:
> From: Kristen Carlson Accardi <kris...@linux.intel.com>
> 
> The SGX EPC cgroup will reclaim EPC pages when usage in a cgroup reaches
> its or ancestor's limit. This requires a walk from the current cgroup up
> to the root similar to misc_cg_try_charge(). Export misc_cg_parent() to
> enable this walk.
> 
> The SGX driver also needs start a global level reclamation from the
> root. Export misc_cg_root() for the SGX driver to access.
> 
> Signed-off-by: Kristen Carlson Accardi <kris...@linux.intel.com>
> Co-developed-by: Haitao Huang <haitao.hu...@linux.intel.com>
> Signed-off-by: Haitao Huang <haitao.hu...@linux.intel.com>
> Reviewed-by: Jarkko Sakkinen <jar...@kernel.org>
> Reviewed-by: Tejun Heo <t...@kernel.org>
> 

Reviewed-by: Kai Huang <kai.hu...@intel.com>

Reply via email to