Re: [PATCHSET] cgroup: use static_keys for subsystem enabled and on_dfl tests

2015-09-18 Thread Tejun Heo
On Tue, Sep 15, 2015 at 09:51:21PM -0400, Tejun Heo wrote: > cgroup_subsys->disabled and cgroup_on_dfl() tests are likely to be > used in hot paths and seldom change. The former is set once during > boot and the latter only when a controller is migrated between the > default hierarchy and traditio

Re: [PATCHSET] cgroup: use static_keys for subsystem enabled and on_dfl tests

2015-09-18 Thread Zefan Li
On 2015/9/16 9:51, Tejun Heo wrote: cgroup_subsys->disabled and cgroup_on_dfl() tests are likely to be used in hot paths and seldom change. The former is set once during boot and the latter only when a controller is migrated between the default hierarchy and traditional ones. This patchset make

[PATCHSET] cgroup: use static_keys for subsystem enabled and on_dfl tests

2015-09-15 Thread Tejun Heo
cgroup_subsys->disabled and cgroup_on_dfl() tests are likely to be used in hot paths and seldom change. The former is set once during boot and the latter only when a controller is migrated between the default hierarchy and traditional ones. This patchset makes these tests static_key based and con