lkml.org 
[lkml]   [2015]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2015-09-17 17:41    [W:0.042 / U:1.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site