Hey, This series is based on suggestions from Linus. I posted a previous version one month ago then Linus suggested more improvements. Here is the following iteration.
The last patch suggests to (ab)use PREEMPT_ACTIVE to disable preemption on schedule(). It's optional as it's a possibily controversial cleanup. Thanks. Frederic Weisbecker (4): sched: Pull resched loop to __schedule() callers sched: Use traced preempt count operations to toggle PREEMPT_ACTIVE sched: Pull preemption disablement to __schedule() caller sched: Account PREEMPT_ACTIVE context as atomic include/linux/preempt_mask.h | 4 ++-- kernel/sched/core.c | 29 +++++++++++++++-------------- 2 files changed, 17 insertions(+), 16 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

