From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752460AbbIQP16 (ORCPT ); Thu, 17 Sep 2015 11:27:58 -0400 Received: from mail-yk0-f178.google.com ([209.85.160.178]:33571 "EHLO mail-yk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751918AbbIQP14 (ORCPT ); Thu, 17 Sep 2015 11:27:56 -0400 Date: Thu, 17 Sep 2015 11:27:52 -0400 From: Tejun Heo To: Peter Zijlstra Cc: lizefan@huawei.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, Andrew Morton Subject: Re: [PATCH 1/4] jump_label: make static_key_enabled() work on static_key_true/false types too Message-ID: <20150917152752.GD7205@mtj.duckdns.org> References: <1442368285-16306-1-git-send-email-tj@kernel.org> <1442368285-16306-2-git-send-email-tj@kernel.org> <20150917085957.GI3816@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150917085957.GI3816@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > Cc: Peter Zijlstra > > Cc: Andrew Morton > > --- > > 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