From: Frederic Weisbecker <frederic@kernel.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Chris Metcalf <cmetcalf@mellanox.com>,
Thomas Gleixner <tglx@linutronix.de>,
Luiz Capitulino <lcapitulino@redhat.com>,
Christoph Lameter <cl@linux.com>,
"Paul E . McKenney" <paulmck@linux.vnet.ibm.com>,
Ingo Molnar <mingo@kernel.org>, Wanpeng Li <kernellwp@gmail.com>,
Mike Galbraith <efault@gmx.de>, Rik van Riel <riel@redhat.com>
Subject: [RFC PATCH 0/5] isolation: 1Hz residual tick offloading
Date: Tue, 19 Dec 2017 04:23:53 +0100 [thread overview]
Message-ID: <1513653838-31314-1-git-send-email-frederic@kernel.org> (raw)
Finally! It has been years since I had to do that but I kept knocking
against prerequisites, mostly about making scheduler_tick() resilient
against the absence of ticks. Now it seems that current->sched_class->task_tick()
is the last piece of it.
This patchset adds a flag to the isolcpus boot option to offload the
residual 1Hz tick.
For quick testing, say on CPUs 1-7:
"isolcpus=nohz_offload,domain,1-7"
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/0z
HEAD: a9366794579a4ff71ec3546b9983536a669fbfb9
Thanks,
Frederic
---
Frederic Weisbecker (5):
sched: Move tick code to a separate file
sched: Rename init_rq_hrtick to hrtick_rq_init
sched/isolation: Add scheduler tick offloading interface
sched/isolation: Residual 1Hz scheduler tick offload
sched/isolation: Document "nohz_offload" flag
Documentation/admin-guide/kernel-parameters.txt | 7 +-
include/linux/sched/isolation.h | 3 +-
kernel/sched/Makefile | 2 +-
kernel/sched/core.c | 186 +-----------------
kernel/sched/isolation.c | 10 +
kernel/sched/sched.h | 13 +-
kernel/sched/tick.c | 250 ++++++++++++++++++++++++
7 files changed, 284 insertions(+), 187 deletions(-)
next reply other threads:[~2017-12-19 3:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-19 3:23 Frederic Weisbecker [this message]
2017-12-19 3:23 ` [PATCH 1/5] sched: Move tick code to a separate file Frederic Weisbecker
2017-12-19 9:08 ` Peter Zijlstra
2017-12-19 16:33 ` Frederic Weisbecker
2017-12-19 3:23 ` [PATCH 2/5] sched: Rename init_rq_hrtick to hrtick_rq_init Frederic Weisbecker
2017-12-19 3:23 ` [PATCH 3/5] sched/isolation: Add scheduler tick offloading interface Frederic Weisbecker
2017-12-19 3:23 ` [PATCH 4/5] sched/isolation: Residual 1Hz scheduler tick offload Frederic Weisbecker
2017-12-19 9:19 ` Peter Zijlstra
2017-12-19 14:34 ` Luiz Capitulino
2017-12-19 16:01 ` Christopher Lameter
2017-12-19 16:04 ` Peter Zijlstra
2017-12-19 16:38 ` Christopher Lameter
2017-12-19 16:49 ` Peter Zijlstra
2017-12-19 17:26 ` Christopher Lameter
2017-12-19 16:26 ` Frederic Weisbecker
2017-12-19 16:03 ` Christopher Lameter
2017-12-19 16:32 ` Frederic Weisbecker
2017-12-19 17:23 ` Christopher Lameter
2017-12-19 3:23 ` [PATCH 5/5] sched/isolation: Document "nohz_offload" flag 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=1513653838-31314-1-git-send-email-frederic@kernel.org \
--to=frederic@kernel.org \
--cc=cl@linux.com \
--cc=cmetcalf@mellanox.com \
--cc=efault@gmx.de \
--cc=kernellwp@gmail.com \
--cc=lcapitulino@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=peterz@infradead.org \
--cc=riel@redhat.com \
--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
Powered by JetHome