From: Vatika Harlalka <vatikaharlalka@gmail.com>
To: mingo@redhat.com, peterz@infradead.org, tglx@linutronix.de,
rafael.j.wysocki@intel.com, fweisbec@gmail.com,
schwidefsky@de.ibm.com, linux-kernel@vger.kernel.org,
preetium@andrew.cmu.edu
Cc: preeti.murthy@gmail.com
Subject: [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus
Date: Thu, 13 Aug 2015 14:55:36 +0530 [thread overview]
Message-ID: <cover.1439454836.git.vatikaharlalka@gmail.com> (raw)
This patchset is for offloading task_tick() to a remote housekeeping
cpu. The larger aim is to stop ticks on nohz_full cpus. For this, extra
work must be done by housekeeping cpus. So, task_tick is called from a
delayed workqueue for nohz_full cpus and the work is requeued every second
for those nohz_full cpus whose ticks are stopped while they are busy. In
the rest of the cases it will lead to redundant accounting. To facilitate
this, a new function tick_nohz_remote_tick_stopped is added to indicate
whether ticks are stopped on a remote cpu.
Tick related code in core.c is moved to tick.c
Vatika Harlalka (2):
nohz_full: Move tick related code to tick.c
nohz_full: Offload task_tick to remote housekeeping cpu
include/linux/tick.h | 2 ++
kernel/sched/Makefile | 2 +-
kernel/sched/core.c | 27 ---------------
kernel/sched/tick.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++
kernel/time/tick-sched.c | 5 +++
5 files changed, 93 insertions(+), 28 deletions(-)
create mode 100644 kernel/sched/tick.c
--
2.4.2
next reply other threads:[~2015-08-13 9:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 9:25 Vatika Harlalka [this message]
2015-08-13 9:25 ` [PATCH 1/2] nohz_full: Move tick related code to tick.c Vatika Harlalka
2015-08-13 12:22 ` [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus Peter Zijlstra
2015-08-13 12:44 ` Frederic Weisbecker
2015-08-13 15:05 ` Peter Zijlstra
2015-08-13 15:36 ` Frederic Weisbecker
2015-08-13 19:22 ` Vatika Harlalka
2015-08-20 12:50 ` preetium
2015-08-21 15:55 ` Frederic Weisbecker
[not found] ` <CACFGFQQ8mBzS-NhfNsp2nao2XpUksxu3t_Jse2zL2EQHLAK_Hg@mail.gmail.com>
2015-09-11 17:05 ` Vatika Harlalka
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=cover.1439454836.git.vatikaharlalka@gmail.com \
--to=vatikaharlalka@gmail.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=preeti.murthy@gmail.com \
--cc=preetium@andrew.cmu.edu \
--cc=rafael.j.wysocki@intel.com \
--cc=schwidefsky@de.ibm.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