From: Frederic Weisbecker <frederic@kernel.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Tony Luck <tony.luck@intel.com>,
Peter Zijlstra <peterz@infradead.org>,
"David S . Miller" <davem@davemloft.net>,
Michael Ellerman <mpe@ellerman.id.au>,
Helge Deller <deller@gmx.de>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@kernel.org>, Fenghua Yu <fenghua.yu@intel.com>,
"James E . J . Bottomley" <jejb@parisc-linux.org>
Subject: [PATCH 00/10] softirq: Consolidate and optimize softirq mask
Date: Thu, 29 Mar 2018 04:26:55 +0200 [thread overview]
Message-ID: <1522290425-22844-1-git-send-email-frederic@kernel.org> (raw)
The softirq mask and its accessors/mutators have many implementations
scattered around many architectures. Most do the same things consisting
in a field in a per-cpu struct (often irq_cpustat_t) accessed through
per-cpu ops. We can provide instead a generic efficient version that
most of them can use. In fact s390 is the only exception because the
field is stored in lowcore.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
softirq/mask
HEAD: fb3db1bfa6033202c4b8191e570f39d3777d6a9d
Thanks,
Frederic
---
Frederic Weisbecker (10):
ia64: Convert local_softirq_pending() to per-cpu ops
sparc: Convert local_softirq_pending() to use per-cpu op
softirq: Turn default irq_cpustat_t to standard per-cpu
softirq: Consolidate default local_softirq_pending() implementations
ia64: Switch to generic local_softirq_pending() implementation
parisc: Switch to generic local_softirq_pending() implementation
powerpc: Switch to generic local_softirq_pending() implementation
sparc: Switch to generic local_softirq_pending() implementation
x86: Switch to generic local_softirq_pending() implementation
softirq: Remove __ARCH_SET_SOFTIRQ_PENDING
arch/ia64/include/asm/hardirq.h | 2 +-
arch/parisc/include/asm/hardirq.h | 8 --------
arch/powerpc/include/asm/hardirq.h | 7 -------
arch/sparc/include/asm/hardirq_64.h | 5 +++--
arch/x86/include/asm/hardirq.h | 8 --------
include/linux/interrupt.h | 16 ++++++++++++++--
include/linux/irq_cpustat.h | 10 +++-------
kernel/softirq.c | 4 ++--
8 files changed, 23 insertions(+), 37 deletions(-)
next reply other threads:[~2018-03-29 2:27 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-29 2:26 Frederic Weisbecker [this message]
2018-03-29 2:26 ` [PATCH 01/10] ia64: Convert local_softirq_pending() to per-cpu ops Frederic Weisbecker
2018-03-29 2:26 ` [PATCH 02/10] sparc: Convert local_softirq_pending() to use per-cpu op Frederic Weisbecker
2018-03-29 2:26 ` [PATCH 03/10] softirq: Turn default irq_cpustat_t to standard per-cpu Frederic Weisbecker
2018-03-29 2:26 ` [PATCH 04/10] softirq: Consolidate default local_softirq_pending() implementations Frederic Weisbecker
2018-03-29 2:27 ` [PATCH 05/10] ia64: Switch to generic local_softirq_pending() implementation Frederic Weisbecker
2018-03-29 2:27 ` [PATCH 06/10] parisc: " Frederic Weisbecker
2018-03-29 2:27 ` [PATCH 07/10] powerpc: " Frederic Weisbecker
2018-03-29 2:27 ` [PATCH 08/10] sparc: " Frederic Weisbecker
2018-03-29 2:27 ` [PATCH 09/10] x86: " Frederic Weisbecker
2018-03-29 2:27 ` [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING Frederic Weisbecker
2018-03-29 7:16 ` Peter Zijlstra
2018-03-29 13:47 ` Frederic Weisbecker
2018-03-29 14:01 ` Peter Zijlstra
2018-03-29 14:07 ` Frederic Weisbecker
2018-03-29 14:53 ` Martin Schwidefsky
2018-03-29 16:55 ` Frederic Weisbecker
2018-03-29 18:08 ` Peter Zijlstra
2018-04-03 5:52 ` Martin Schwidefsky
2018-04-03 8:42 ` Peter Zijlstra
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=1522290425-22844-1-git-send-email-frederic@kernel.org \
--to=frederic@kernel.org \
--cc=benh@kernel.crashing.org \
--cc=bigeasy@linutronix.de \
--cc=davem@davemloft.net \
--cc=deller@gmx.de \
--cc=fenghua.yu@intel.com \
--cc=jejb@parisc-linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.