Re: [PATCH v11 03/14] cgroup/misc: Export APIs for SGX driver

2024-04-15 Thread Huang, Kai
On Wed, 2024-04-10 at 11:25 -0700, Haitao Huang wrote: > From: Kristen Carlson Accardi > > 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

[PATCH v11 03/14] cgroup/misc: Export APIs for SGX driver

2024-04-10 Thread Haitao Huang
From: Kristen Carlson Accardi 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