commit | 8a693f7766f9e27c390c5fec8a5db1f9d1d8177e | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Sep 06 09:38:55 2022 -1000 |
committer | Tejun Heo <tj@kernel.org> | Tue Sep 06 09:38:55 2022 -1000 |
tree | feb54c06b800520209d311a55027ccfb7447938c | |
parent | 0083d27b21dd2a598df8275b98f89ced532e2e53 [diff] |
cgroup: Remove CFTYPE_PRESSURE CFTYPE_PRESSURE is used to flag PSI related files so that they are not created if PSI is disabled during boot. It's a bit weird to use a generic flag to mark a specific file type. Let's instead move the PSI files into its own cftypes array and add/rm them conditionally. This is a bit more code but cleaner. No userland visible changes. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Johannes Weiner <hannes@cmpxchg.org>