On Wed, 2024-04-10 at 11:25 -0700, Haitao Huang wrote: > From: Kristen Carlson Accardi <[email protected]> > > 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 <[email protected]> > Co-developed-by: Haitao Huang <[email protected]> > Signed-off-by: Haitao Huang <[email protected]> > Reviewed-by: Jarkko Sakkinen <[email protected]> > Reviewed-by: Tejun Heo <[email protected]> >
Reviewed-by: Kai Huang <[email protected]>

