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

2024-06-27 Thread Boqun Feng
On Thu, Jun 27, 2024 at 10:34:39AM +0200, Alice Ryhl wrote: > On Tue, Jun 25, 2024 at 6:18 PM Boqun Feng wrote: > > > > Hi Alice, > > > > On Fri, Jun 21, 2024 at 10:35:26AM +, Alice Ryhl wrote: > > > Add just enough support for static key so that we can use it from > > > tracepoints. Tracepoin

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

2024-06-27 Thread Alice Ryhl
On Tue, Jun 25, 2024 at 6:18 PM Boqun Feng wrote: > > Hi Alice, > > On Fri, Jun 21, 2024 at 10:35:26AM +, 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

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

2024-06-25 Thread Boqun Feng
Hi Alice, On Fri, Jun 21, 2024 at 10:35:26AM +, 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 t

[PATCH v3 1/2] rust: add static_key_false

2024-06-21 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