Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1227127
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/4] jump_label: make static_key_enabled() work on static_key_true/false types too |
| Date | 2015-09-17 17:30 +0200 |
| Message-ID | <q9Jij-7CU-37@gated-at.bofh.it> (permalink) |
| References | <q9aaS-6Rm-7@gated-at.bofh.it> <q9aaS-6Rm-9@gated-at.bofh.it> <q9Dmx-7n1-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCHSET] cgroup: use static_keys for subsystem enabled and on_dfl tests Tejun Heo <tj@kernel.org> - 2015-09-16 04:00 +0200
[PATCH 2/4] cgroup: implement static_key based cgroup_subsys_enabled() and cgroup_subsys_on_dfl() Tejun Heo <tj@kernel.org> - 2015-09-16 04:00 +0200
[PATCH 1/4] jump_label: make static_key_enabled() work on static_key_true/false types too Tejun Heo <tj@kernel.org> - 2015-09-16 04:00 +0200
Re: [PATCH 1/4] jump_label: make static_key_enabled() work on static_key_true/false types too Peter Zijlstra <peterz@infradead.org> - 2015-09-17 11:10 +0200
Re: [PATCH 1/4] jump_label: make static_key_enabled() work on static_key_true/false types too Tejun Heo <tj@kernel.org> - 2015-09-17 17:30 +0200
Re: [PATCH 1/4] jump_label: make static_key_enabled() work on static_key_true/false types too Peter Zijlstra <peterz@infradead.org> - 2015-09-17 17:50 +0200
[PATCH 3/4] cgroup: replace cgroup_subsys->disabled tests with cgroup_subsys_enabled() Tejun Heo <tj@kernel.org> - 2015-09-16 04:00 +0200
Re: [PATCHSET] cgroup: use static_keys for subsystem enabled and on_dfl tests Zefan Li <lizefan@huawei.com> - 2015-09-18 11:20 +0200
Re: [PATCHSET] cgroup: use static_keys for subsystem enabled and on_dfl tests Tejun Heo <tj@kernel.org> - 2015-09-18 18:00 +0200
csiph-web