Re: [GIT PULL sched/core] cpu_stop: implement and use cpu_stop,take#3

From: Ingo Molnar
Date: Sat May 08 2010 - 07:15:49 EST



* Tejun Heo <tj@xxxxxxxxxx> wrote:

> Hello, Ingo.
>
> Please pull from the following branch to receive cpu_stop patches.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git cpu_stop
>
> Adding mb()'s in synchronize_sched_expedited() is the only change
> since the last take[2]. Both Peter and Paul have acked the patchset.
> I'll post the patchset as replies to this message.
>
> This patchset is on top of the current sched/core (99bd5e2f) and
> contains the following changes.
>
> Paul E. McKenney (1):
> scheduler: correctly place paranioa memory barriers in synchronize_sched_expedited()
>
> Tejun Heo (4):
> cpu_stop: implement stop_cpu[s]()
> stop_machine: reimplement using cpu_stop
> scheduler: replace migration_thread with cpu_stop
> scheduler: kill paranoia check in synchronize_sched_expedited()
>
> 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 | 284 +++++-----------------
> kernel/sched_fair.c | 48 +++-
> kernel/stop_machine.c | 530 +++++++++++++++++++++++++++++++----------
> 12 files changed, 538 insertions(+), 435 deletions(-)

FYI, it doesnt build on x86 allnoconfig:

kernel/sched_fair.c: In function 'load_balance':
kernel/sched_fair.c:2917: error: implicit declaration of function 'stop_one_cpu_nowait'
kernel/sched.c: In function 'sched_exec':
kernel/sched.c:3084: error: implicit declaration of function 'stop_one_cpu'
kernel/sched.c: In function 'synchronize_sched_expedited':

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/