mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Eric Dumazet <edumazet@google.com>,
	Eric Dumazet <eric.dumazet@gmail.com>
Subject: [PATCH 0/2] jump_label: add __static_key macro
Date: Tue,  9 Nov 2021 17:09:04 -0800	[thread overview]
Message-ID: <20211110010906.1923210-1-eric.dumazet@gmail.com> (raw)

From: Eric Dumazet <edumazet@google.com>

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(-)

-- 
2.34.0.rc0.344.g81b53c2807-goog


             reply	other threads:[~2021-11-10  1:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10  1:09 Eric Dumazet [this message]
2021-11-10  1:09 ` [PATCH 1/2] jump_label: use DEFINE_STATIC_KEY_FALSE_RO() where possible Eric Dumazet
2021-11-10  1:09 ` [PATCH 2/2] jump_label: refine placement of static_keys Eric Dumazet
2021-11-10  8:35   ` Peter Zijlstra
2021-11-10 10:24     ` Ard Biesheuvel
2021-11-10 15:22       ` Eric Dumazet
2021-11-10 17:06         ` Ard Biesheuvel
2021-11-10 17:43           ` Eric Dumazet
2021-11-10 15:30     ` Eric Dumazet
2021-11-10 15:41       ` Eric Dumazet
2021-11-14 14:07   ` [jump_label] b8efb810ab: leaking-addresses.proc..data.unlikely kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211110010906.1923210-1-eric.dumazet@gmail.com \
    --to=eric.dumazet@gmail.com \
    --cc=edumazet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome