linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 -next 0/6] update static key users to modern api
@ 2018-03-26 21:09 Davidlohr Bueso
  2018-03-26 21:09 ` [PATCH 1/6] drivers/i2c: Update i2c_trace_msg static key " Davidlohr Bueso
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Davidlohr Bueso @ 2018-03-26 21:09 UTC (permalink / raw)
  To: peterz, mingo, akpm; +Cc: linux-kernel, Davidlohr Bueso

Changes from v1:
  - added the 'static' keyword where it belongs.
  - added networking and x86-perf patches. Unlike the first three,
    these these use the global/extern variants.

Hi,

I noticed a few users in the kernel calling stale static key api. Patches
are straightforward; note that the irqchip was also changed to not use
refcounting functions as it only 'disables' the feature.

Applies on today's -next. Compile-tested.

Thanks!

Davidlohr Bueso (6):
  drivers/i2c: Update i2c_trace_msg static key to modern api
  drivers/irqchip: Update supports_deactivate static key to modern api
  sched/core: Update preempt_notifier_key to modern api
  perf,x86: Update rdpmc_always_available static key to modern api
  net/ipv4: Update ip_tunnel_metadata_cnt static key to modern api
  net/sock: Update memalloc_socks static key to modern api

 arch/x86/events/core.c             |  6 +++---
 arch/x86/include/asm/mmu_context.h |  5 +++--
 drivers/i2c/i2c-core-base.c        | 13 +++++++------
 drivers/irqchip/irq-gic-v3.c       | 20 ++++++++++----------
 drivers/irqchip/irq-gic.c          | 22 +++++++++++-----------
 include/net/ip_tunnels.h           |  4 ++--
 include/net/sock.h                 |  4 ++--
 kernel/sched/core.c                | 12 ++++++------
 net/core/sock.c                    |  8 ++++----
 net/ipv4/ip_tunnel_core.c          |  6 +++---
 10 files changed, 51 insertions(+), 49 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-04-03 14:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-26 21:09 [PATCH v2 -next 0/6] update static key users to modern api Davidlohr Bueso
2018-03-26 21:09 ` [PATCH 1/6] drivers/i2c: Update i2c_trace_msg static key " Davidlohr Bueso
2018-04-03 13:20   ` Wolfram Sang
2018-04-03 14:00   ` David Howells
2018-04-03 14:49   ` Wolfram Sang
2018-03-26 21:09 ` [PATCH 2/6] drivers/irqchip: Update supports_deactivate " Davidlohr Bueso
2018-03-28 13:47   ` Marc Zyngier
2018-03-28 13:46     ` Davidlohr Bueso
2018-03-26 21:09 ` [PATCH 3/6] sched/core: Update preempt_notifier_key " Davidlohr Bueso
2018-03-27  7:46   ` [tip:sched/core] sched/core: Update preempt_notifier_key to modern API tip-bot for Davidlohr Bueso
2018-03-26 21:09 ` [PATCH 4/6] perf,x86: Update rdpmc_always_available static key to modern api Davidlohr Bueso
2018-03-27  7:47   ` [tip:perf/core] perf/x86: Update rdpmc_always_available static key to the modern API tip-bot for Davidlohr Bueso
2018-03-26 21:09 ` [PATCH 5/6] net/ipv4: Update ip_tunnel_metadata_cnt static key to modern api Davidlohr Bueso
2018-03-27 15:44   ` David Miller
2018-03-27 15:37     ` Davidlohr Bueso
2018-03-26 21:09 ` [PATCH 6/6] net/sock: Update memalloc_socks " Davidlohr Bueso
2018-03-27  7:36 ` [PATCH v2 -next 0/6] update static key users " Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).