Re: [PATCH v9 1/5] rust: add generic static_key_false

From
Alice Ryhl <aliceryhl@google.com>
Date
2024-10-11 10:16:26
Also in
linux-arch, linux-riscv, lkml, loongarch, rust-for-linux
Reply to
Steven Rostedt, 2024-10-10
On Thu, Oct 10, 2024 at 9:43 PM Steven Rostedt [off-list ref] wrote:
On Tue, 1 Oct 2024 14:15:43 -0700
Josh Poimboeuf [off-list ref] wrote:
quoted
On Tue, Oct 01, 2024 at 01:29:58PM +0000, Alice Ryhl wrote:
quoted
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.
Instead of extending the old deprecated static key interface into Rust,
can we just change tracepoints to use the new one?

/me makes a note to go convert the other users...

From: Josh Poimboeuf <jpoimboe@kernel.org>
Subject: [PATCH] tracepoints: Use new static branch API

The old static key API based on 'struct static_key' is deprecated.
Convert tracepoints to use the new API.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Alice,

Can you send a v10 with the added acks and whitespace fixes as well as
using static_branch_unlikely(), and I'll pull it into my tree.

Base it off of v6.12-rc2.
Here you go:
https://lore.kernel.org/all/20241011-tracepoint-v10-0-7fbde4d6b525@google.com/ (local)

Alice
Thread (17 messages) 17 messages, 4 authors, last reply 2024-10-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help