From: Tejun Heo <tj@kernel.org>
To: mingo@elte.hu, linux-kernel@vger.kernel.org, x86@kernel.org,
oleg@redhat.com, peterz@infradead.org, rusty@rustcorp.com.au,
sivanich@sgi.com, heiko.carstens@de.ibm.com, dipankar@in.ibm.com,
josh@freedesktop.org, paulmck@linux.vnet.ibm.com,
akpm@linux-foundation.org, arjan@linux.intel.com,
torvalds@linux-foundation.org
Subject: [PATCHSET sched/core] cpu_stop: implement and use cpu_stop
Date: Thu, 22 Apr 2010 18:09:10 +0200 [thread overview]
Message-ID: <1271952554-22368-1-git-send-email-tj@kernel.org> (raw)
Hello, all.
cpu_hog has been renamed to cpu_stop and moved into
kernel/stop_machine.c per Peter Zijlstra's suggestion. This patchset
is feature-wise identical to the second take of cpuhog[L]. The only
changes are the rename, relocation and refresh against the current
sched/core.
The following API renames took place.
- hog_one_cpu() -> stop_one_cpu()
- hog_one_cpu_nowait() -> stop_one_cpu_nowait()
- hog_cpus() -> stop_cpus()
- try_hog_cpus() -> try_stop_cpus()
- *_hog() callbacks -> *_cpu_stop()
Internal names have been renamed accordingly. e.g. cpuhog thread
became cpu_stopper thread and so on.
This patchset contains the following four patches.
0001-cpu_stop-implement-stop_cpu-s.patch
0002-stop_machine-reimplement-using-cpu_stop.patch
0003-scheduler-replace-migration_thread-with-cpu_stop.patch
0004-scheduler-kill-paranoia-check-in-synchronize_sched_e.patch
The patches are against the current linux-2.6-tip/sched/core
(09a40af5240de02d848247ab82440ad75b31ab11) and are available in the
following git tree.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git cpu_stop
I retained the original acked/reviewed-by's as the changes are mostly
cosmetic. If you disagree, please let me know. I'll try to push this
through sched/core again once Peter acks.
diffstat follows.
Documentation/RCU/torture.txt | 10
arch/s390/kernel/time.c | 1
drivers/xen/manage.c | 14 -
include/linux/rcutiny.h | 2
include/linux/rcutree.h | 1
include/linux/stop_machine.h | 59 ++--
kernel/cpu.c | 8
kernel/module.c | 14 -
kernel/rcutorture.c | 2
kernel/sched.c | 271 +++------------------
kernel/sched_fair.c | 42 ++-
kernel/stop_machine.c | 525 ++++++++++++++++++++++++++++++++----------
12 files changed, 514 insertions(+), 435 deletions(-)
Thanks.
--
tejun
[L] http://thread.gmane.org/gmane.linux.kernel/962635
next reply other threads:[~2010-04-22 16:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 16:09 Tejun Heo [this message]
2010-04-22 16:09 ` [PATCH 1/4] cpu_stop: implement stop_cpu[s]() Tejun Heo
2010-05-03 13:26 ` Peter Zijlstra
2010-05-04 6:36 ` Tejun Heo
2010-05-03 13:26 ` Peter Zijlstra
2010-05-04 6:36 ` Tejun Heo
2010-05-04 7:03 ` Tejun Heo
2010-05-04 8:43 ` Peter Zijlstra
2010-05-03 13:26 ` Peter Zijlstra
2010-05-04 6:40 ` Tejun Heo
2010-05-04 6:55 ` Tejun Heo
2010-04-22 16:09 ` [PATCH 2/4] stop_machine: reimplement using cpu_stop Tejun Heo
2010-04-22 16:09 ` [PATCH 3/4] scheduler: replace migration_thread with cpu_stop Tejun Heo
2010-05-03 13:26 ` Peter Zijlstra
2010-05-04 7:17 ` Tejun Heo
2010-05-04 12:45 ` Peter Zijlstra
2010-05-04 12:49 ` Tejun Heo
2010-04-22 16:09 ` [PATCH 4/4] scheduler: kill paranoia check in synchronize_sched_expedited() Tejun Heo
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=1271952554-22368-1-git-send-email-tj@kernel.org \
--to=tj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=arjan@linux.intel.com \
--cc=dipankar@in.ibm.com \
--cc=heiko.carstens@de.ibm.com \
--cc=josh@freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=oleg@redhat.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=peterz@infradead.org \
--cc=rusty@rustcorp.com.au \
--cc=sivanich@sgi.com \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.org \
/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.