Re: [PATCH 1/4] jump_label: make static_key_enabled() work on static_key_true/false types too
From: Tejun Heo <hidden>
Date: 2015-09-17 15:27:58
Also in:
lkml
From: Tejun Heo <hidden>
Date: 2015-09-17 15:27:58
Also in:
lkml
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:quoted
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 <redacted> Cc: Peter Zijlstra <redacted> Cc: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.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