On Thu, Jul 11, 2024 at 02:51:38PM -0400, Waiman Long wrote:
On 7/11/24 14:44, Tejun Heo wrote:Yeah, I think listing all is better. If the list corresponded directly to
Hello,OK, I wasn't sure if you were asking to list all the possible cgroup v2
On Thu, Jul 11, 2024 at 01:39:38PM -0400, Waiman Long wrote:
On 7/11/24 13:18, Tejun Heo wrote:...
Currently, I use the for_each_css() macro for iteration. If you meanJust wrapping it with for_each_subsys() should do, no? for_each_css() won't
displaying all the possible cgroup subsystems even if they are not enabled
for the current cgroup, I will have to manually do the iteration.
iterate anything if css doesn't exist for the cgroup.
cgroup subsystems even if they weren't enabled in the current cgroup.
Apparently, that is the case. I prefer it that way too.
cgroup.controllers, it may make sense to only show enabled ones but we can
have dying ones and implicitly enabled memory and so on, so I think it'd be
cleaner to just list them all.