Re: [PATCH] jump_label: Fix usage in module __init

2020-12-16 Thread Josh Poimboeuf
On Wed, Dec 16, 2020 at 02:54:35PM +0100, Peter Zijlstra wrote: > Subject: jump_label: Fix usage in module __init > From: Peter Zijlstra > Date: Wed Dec 16 12:21:36 CET 2020 > > When the static_key is part of the module, and the module calls > static_key_inc/enable() from it's __init section *AND

[PATCH] jump_label: Fix usage in module __init

2020-12-16 Thread Peter Zijlstra
Final patch looks like this. --- Subject: jump_label: Fix usage in module __init From: Peter Zijlstra Date: Wed Dec 16 12:21:36 CET 2020 When the static_key is part of the module, and the module calls static_key_inc/enable() from it's __init section *AND* has a static_branch_*() user in that v