commit | b3a0dc646ab7718099d2a3b03285a2bd1f539ab6 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Aug 19 13:50:23 2022 -1000 |
committer | Tejun Heo <tj@kernel.org> | Fri Aug 19 13:50:23 2022 -1000 |
tree | 09044822434a2123254a6559ebef0b2bff158cb1 | |
parent | 5a44f6fff9b38351661265e85958f41d4f4067e7 [diff] |
cgroup: Implement cgroup_file_show() Add cgroup_file_show() which allows toggling visibility of a cgroup file using the new kernfs_deactivate(). This will be used to hide psi interface files on cgroups where it's disabled. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Chengming Zhou <zhouchengming@bytedance.com> Cc: Johannes Weiner <hannes@cmpxchg.org>