On Wed Jul 12, 2023 at 11:01 PM UTC, Haitao Huang wrote: > From: Kristen Carlson Accardi <kristen@xxxxxxxxxxxxxxx> > > Consumers of the misc cgroup controller might need to perform separate > actions for Cgroups Subsystem State(CSS) events: cgroup alloc and free. > In addition, writes to the max value may also need separate action. Add > the ability to allow downstream users to setup callbacks for these > operations, and call the corresponding per-resource-type callback when > appropriate. > > This code will be utilized by the SGX driver in a future patch. > > Signed-off-by: Kristen Carlson Accardi <kristen@xxxxxxxxxxxxxxx> > Signed-off-by: Haitao Huang <haitao.huang@xxxxxxxxxxxxxxx> Ditto. Belongs to the head of the patch set. BR, Jarkko