Messages in this thread | | | Date | Thu, 17 Sep 2015 11:27:52 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH 1/4] jump_label: make static_key_enabled() work on static_key_true/false types too |
| |
On Thu, Sep 17, 2015 at 10:59:57AM +0200, Peter Zijlstra wrote: > On Tue, Sep 15, 2015 at 09:51:22PM -0400, Tejun Heo wrote: > > static_key_enabled() can be used on struct static_key but not on its > > wrapper types static_key_true and static_key_false. The function is > > useful for debugging and management of static keys. Update it so that > > it can be used for the wrapper types too. > > > > Signed-off-by: Tejun Heo <tj@kernel.org> > > Cc: Peter Zijlstra <peterz@infradead.org> > > Cc: Andrew Morton <akpm@linux-foundation.org> > > --- > > Hello, > > > > If this patch is acceptable, please let me know how it should be > > routed. > > > > Yeah, no problem with this, I'm assuming there's dependencies in the > patches you didn't send me?
Yeap, later patches add static_keys for testing whether a controller is enabled and whether it's on the new or old hierarchy and management path in cgroup core needs to index the keys and test them.
Thanks.
-- tejun
| |