Skip to content

jump_label: add __static_key macro

Eric Dumazet lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2jump_label: use DEFINE_STATIC_KEY_FALSE_RO() where possiblearch/arm/crypto/chacha-glue.c arch/arm/crypto/curve25519-glue.c arch/arm/crypto/ghash-ce-glue.c +11 more+20 -200 replies
2/2jump_label: refine placement of static_keysarch/x86/kvm/lapic.c arch/x86/kvm/x86.c include/linux/jump_label.h +5 more+28 -197 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] jump_label: add __static_key macro

From: Eric Dumazet <[email protected]>

First patch removes uses of open coded
__ro_after_init DEFINE_STATIC_KEY_FALSE(XXX)

Second patch adds __static_key macro to put static_key away for CONFIG_JUMP_LABEL=y builds.

Eric Dumazet (2):
jump_label: use DEFINE_STATIC_KEY_FALSE_RO() where possible
jump_label: refine placement of static_keys

 arch/arm/crypto/chacha-glue.c        |  2 +-
 arch/arm/crypto/curve25519-glue.c    |  2 +-
 arch/arm/crypto/ghash-ce-glue.c      |  2 +-
 arch/arm/crypto/poly1305-glue.c      |  2 +-
 arch/arm64/crypto/chacha-neon-glue.c |  2 +-
 arch/arm64/crypto/poly1305-glue.c    |  2 +-
 arch/powerpc/mm/book3s64/slb.c       |  2 +-
 arch/riscv/kernel/cpufeature.c       |  2 +-
 arch/x86/crypto/aesni-intel_glue.c   |  4 ++--
 arch/x86/crypto/blake2s-glue.c       |  4 ++--
 arch/x86/crypto/chacha_glue.c        |  6 +++---
 arch/x86/crypto/curve25519-x86_64.c  |  2 +-
 arch/x86/crypto/poly1305_glue.c      |  6 +++---
 arch/x86/kvm/lapic.c                 |  4 ++--
 arch/x86/kvm/x86.c                   |  2 +-
 crypto/aegis128-core.c               |  2 +-
 include/linux/jump_label.h           | 25 +++++++++++++++++--------
 kernel/events/core.c                 |  2 +-
 kernel/sched/fair.c                  |  2 +-
 net/core/dev.c                       |  8 ++++----
 net/netfilter/core.c                 |  2 +-
 net/netfilter/x_tables.c             |  2 +-
 22 files changed, 48 insertions(+), 39 deletions(-)
Signature · 1 line
2.34.0.rc0.344.g81b53c2807-goog