Re: [PATCH] params: Add support for static keys

2025-05-14 Thread Kent Overstreet
On Tue, May 13, 2025 at 07:51:57PM +0200, Christophe Leroy wrote: > > > Le 10/05/2025 à 23:01, Kent Overstreet a écrit : > > Static keys can now be a module parameter, e.g. > > > > module_param_named(foo, foo.key, static_key_t, 0644) > > > > bcachefs is now using this. > > > > Cc: Luis Chamber

Re: [PATCH] params: Add support for static keys

2025-05-13 Thread Christophe Leroy
Le 10/05/2025 à 23:01, Kent Overstreet a écrit : Static keys can now be a module parameter, e.g. module_param_named(foo, foo.key, static_key_t, 0644) bcachefs is now using this. Cc: Luis Chamberlain Cc: Petr Pavlu Cc: Sami Tolvanen Cc: Daniel Gomez Cc: linux-modu...@vger.kernel.org Sign

Re: [PATCH] params: Add support for static keys

2025-05-13 Thread Kent Overstreet
On Mon, May 12, 2025 at 03:51:00PM +0200, Petr Pavlu wrote: > On 5/10/25 23:01, Kent Overstreet wrote: > > Static keys can now be a module parameter, e.g. > > > > module_param_named(foo, foo.key, static_key_t, 0644) > > > > bcachefs is now using this. > > > > Cc: Luis Chamberlain > > Cc: Petr P

Re: [PATCH] params: Add support for static keys

2025-05-12 Thread Petr Pavlu
On 5/10/25 23:01, Kent Overstreet wrote: > Static keys can now be a module parameter, e.g. > > module_param_named(foo, foo.key, static_key_t, 0644) > > bcachefs is now using this. > > Cc: Luis Chamberlain > Cc: Petr Pavlu > Cc: Sami Tolvanen > Cc: Daniel Gomez > Cc: linux-modu...@vger.kernel

[PATCH] params: Add support for static keys

2025-05-10 Thread Kent Overstreet
Static keys can now be a module parameter, e.g. module_param_named(foo, foo.key, static_key_t, 0644) bcachefs is now using this. Cc: Luis Chamberlain Cc: Petr Pavlu Cc: Sami Tolvanen Cc: Daniel Gomez Cc: linux-modu...@vger.kernel.org Signed-off-by: Kent Overstreet --- include/linux/jump_la