From: Frederic Weisbecker <fweisbec@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>,
Peter Zijlstra <peterz@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Steven Rostedt <rostedt@goodmis.org>
Subject: [RFC PATCH 0/5] printk: Make it usable on nohz CPUs
Date: Fri, 12 Oct 2012 20:09:31 +0200 [thread overview]
Message-ID: <1350065376-23353-1-git-send-email-fweisbec@gmail.com> (raw)
Hi,
So here is a proposition on what we can do to make printk
correctly working on a tickless CPU.
Although it's targeted to be part of the adaptive tickmess
implemetation, it's pretty standalone and generic and also
works for printk() calls in idle.
It is based on latest linus tree.
Waiting for your comments.
Thanks.
PS: only built-tested for now.
Frederic Weisbecker (5):
irq_work: Move irq_work_raise() declaration/default definition to
arch headers
irq_work: Only run irq_work from tick if arch needs it
x86: Implement arch_irq_work_use_tick
nohz: Add API to check tick state
printk: Wake up klogd with irq_work on nohz CPU
arch/alpha/include/asm/irq_work.h | 9 +++++++
arch/alpha/kernel/time.c | 2 +-
arch/arm/include/asm/irq_work.h | 1 +
arch/arm64/include/asm/irq_work.h | 1 +
arch/blackfin/include/asm/irq_work.h | 1 +
arch/frv/include/asm/irq_work.h | 1 +
arch/hexagon/include/asm/irq_work.h | 1 +
arch/mips/include/asm/irq_work.h | 1 +
arch/parisc/include/asm/irq_work.h | 1 +
arch/powerpc/include/asm/irq_work.h | 8 ++++++
arch/powerpc/kernel/time.c | 2 +-
arch/s390/include/asm/irq_work.h | 1 +
arch/sh/include/asm/irq_work.h | 1 +
arch/sparc/include/asm/irq_work.h | 8 ++++++
arch/sparc/kernel/pcr.c | 2 +-
arch/x86/include/asm/irq_work.h | 15 ++++++++++++
arch/x86/kernel/irq_work.c | 6 ++--
include/asm-generic/irq_work.h | 22 +++++++++++++++++
include/linux/irq_work.h | 1 +
include/linux/tick.h | 16 ++++++++++++-
kernel/irq_work.c | 7 -----
kernel/printk.c | 42 ++++++++++++++++++++++++++++++++++
kernel/time/tick-sched.c | 2 +-
kernel/timer.c | 2 +-
24 files changed, 137 insertions(+), 16 deletions(-)
create mode 100644 arch/alpha/include/asm/irq_work.h
create mode 100644 arch/arm/include/asm/irq_work.h
create mode 100644 arch/arm64/include/asm/irq_work.h
create mode 100644 arch/blackfin/include/asm/irq_work.h
create mode 100644 arch/frv/include/asm/irq_work.h
create mode 100644 arch/hexagon/include/asm/irq_work.h
create mode 100644 arch/mips/include/asm/irq_work.h
create mode 100644 arch/parisc/include/asm/irq_work.h
create mode 100644 arch/powerpc/include/asm/irq_work.h
create mode 100644 arch/s390/include/asm/irq_work.h
create mode 100644 arch/sh/include/asm/irq_work.h
create mode 100644 arch/sparc/include/asm/irq_work.h
create mode 100644 arch/x86/include/asm/irq_work.h
create mode 100644 include/asm-generic/irq_work.h
--
1.7.5.4
next reply other threads:[~2012-10-12 18:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-12 18:09 Frederic Weisbecker [this message]
2012-10-12 18:09 ` [RFC PATCH 1/5] irq_work: Move irq_work_raise() declaration/default definition to arch headers Frederic Weisbecker
2012-10-15 16:11 ` Catalin Marinas
2012-10-15 20:02 ` Steven Rostedt
2012-10-15 20:23 ` Frederic Weisbecker
2012-10-15 20:39 ` Steven Rostedt
2012-10-15 21:34 ` Arnd Bergmann
2012-10-15 22:18 ` Frederic Weisbecker
2012-10-16 3:12 ` Mark Brown
2012-10-16 9:25 ` Arnd Bergmann
2012-10-16 15:40 ` Mark Brown
2012-10-12 18:09 ` [RFC PATCH 2/5] irq_work: Only run irq_work from tick if arch needs it Frederic Weisbecker
2012-10-12 18:09 ` [RFC PATCH 3/5] x86: Implement arch_irq_work_use_tick Frederic Weisbecker
2012-10-12 18:09 ` [RFC PATCH 4/5] nohz: Add API to check tick state Frederic Weisbecker
2012-10-12 18:09 ` [RFC PATCH 5/5] printk: Wake up klogd with irq_work on nohz CPU Frederic Weisbecker
2012-10-19 15:50 ` [RFC PATCH 0/5] printk: Make it usable on nohz CPUs Frederic Weisbecker
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=1350065376-23353-1-git-send-email-fweisbec@gmail.com \
--to=fweisbec@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®