aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hugetlb_cgroup.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-09-18 11:56:28 -0400
committerTejun Heo <tj@kernel.org>2015-09-18 11:56:28 -0400
commit49d1dc4b81797f88270832b11e9f73809e7e7209 (patch)
treeff6548a57a57834e533a4404ddabf30139060ece /include/linux/hugetlb_cgroup.h
parentjump_label: make static_key_enabled() work on static_key_true/false types too (diff)
downloadlinux-dev-49d1dc4b81797f88270832b11e9f73809e7e7209.tar.xz
linux-dev-49d1dc4b81797f88270832b11e9f73809e7e7209.zip
cgroup: implement static_key based cgroup_subsys_enabled() and cgroup_subsys_on_dfl()
Whether a subsys is enabled and attached to the default hierarchy seldom changes and may be tested in the hot paths. This patch implements static_key based cgroup_subsys_enabled() and cgroup_subsys_on_dfl() tests. The following patches will update the users and remove duplicate mechanisms. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'include/linux/hugetlb_cgroup.h')
0 files changed, 0 insertions, 0 deletions