Re: [PATCH v2 1/2] rust: add static_key_false

2024-06-21 Thread Alice Ryhl
On Wed, Jun 12, 2024 at 5:03 PM Conor Dooley wrote: > > On Mon, Jun 10, 2024 at 02:01:04PM +, Alice Ryhl wrote: > > Add just enough support for static key so that we can use it from > > tracepoints. Tracepoints rely on `static_key_false` even though it is > > deprecated, so we add the same fun

Re: [PATCH v2 1/2] rust: add static_key_false

2024-06-12 Thread Conor Dooley
On Mon, Jun 10, 2024 at 02:01:04PM +, Alice Ryhl wrote: > Add just enough support for static key so that we can use it from > tracepoints. Tracepoints rely on `static_key_false` even though it is > deprecated, so we add the same functionality to Rust. > > It is not possible to use the existing

[PATCH v2 1/2] rust: add static_key_false

2024-06-10 Thread Alice Ryhl
Add just enough support for static key so that we can use it from tracepoints. Tracepoints rely on `static_key_false` even though it is deprecated, so we add the same functionality to Rust. It is not possible to use the existing C implementation of arch_static_branch because it passes the argument