Re: [patch RT 1/3] cpu/rt: Rework cpu down for PREEMPT_RT

2012-07-16 Thread Steven Rostedt
On Mon, 2012-07-16 at 08:07 +, Thomas Gleixner wrote: I know you are on vacation (hope you are enjoying yourself ;-) > --- > include/linux/sched.h |7 ++ > kernel/cpu.c | 236 > + > kernel/sched/core.c | 82 +

[patch RT 1/3] cpu/rt: Rework cpu down for PREEMPT_RT

2012-07-16 Thread Thomas Gleixner
Bringing a CPU down is a pain with the PREEMPT_RT kernel because tasks can be preempted in many more places than in non-RT. In order to handle per_cpu variables, tasks may be pinned to a CPU for a while, and even sleep. But these tasks need to be off the CPU if that CPU is going down. Several sync