Re: [PATCH 1/2] jump_label: export static_key_slow_inc/dec_cpuslocked()

2018-01-04 Thread Peter Zijlstra
On Thu, Jan 04, 2018 at 10:36:50AM +0300, Konstantin Khlebnikov wrote: > On Thu, Jan 4, 2018 at 2:20 AM, Peter Zijlstra wrote: > > On Wed, Jan 03, 2018 at 11:29:50PM +0300, Konstantin Khlebnikov wrote: > >> For fixing cpu_hotplug_lock recursion in tg_set_cfs_bandwidth(). > > > > Why would that nee

Re: [PATCH 1/2] jump_label: export static_key_slow_inc/dec_cpuslocked()

2018-01-03 Thread Konstantin Khlebnikov
On Thu, Jan 4, 2018 at 2:20 AM, Peter Zijlstra wrote: > On Wed, Jan 03, 2018 at 11:29:50PM +0300, Konstantin Khlebnikov wrote: >> For fixing cpu_hotplug_lock recursion in tg_set_cfs_bandwidth(). > > Why would that need module exports? Just for symmetry with other functions.

Re: [PATCH 1/2] jump_label: export static_key_slow_inc/dec_cpuslocked()

2018-01-03 Thread Peter Zijlstra
On Wed, Jan 03, 2018 at 11:29:50PM +0300, Konstantin Khlebnikov wrote: > For fixing cpu_hotplug_lock recursion in tg_set_cfs_bandwidth(). Why would that need module exports?

[PATCH 1/2] jump_label: export static_key_slow_inc/dec_cpuslocked()

2018-01-03 Thread Konstantin Khlebnikov
For fixing cpu_hotplug_lock recursion in tg_set_cfs_bandwidth(). Signed-off-by: Konstantin Khlebnikov --- include/linux/jump_label.h | 12 kernel/jump_label.c| 18 +- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/include/linux/jump_label