[RFC PATCH 0/7] preempt: A few headers cleanups and preempt_schedule*() optimizations

From: Frederic Weisbecker
Date: Mon May 11 2015 - 11:08:37 EST


Hi,

Optimizing the preempt_count operations (PREEMPT_ACTIVE + preempt_disable())
in a single operation from __schedule() callers was an idea of Linus a
few month ago. Here is a re-iteration, with a few header cleanups along
the way.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
sched/preempt

HEAD: c8bda0e6afc163e7e2804d30b9e4301652dc679c

Thanks,
Frederic
---

Frederic Weisbecker (7):
preempt: Merge preempt_mask.h into preempt.h
preempt: Rearrange a few symbols after headers merge
preempt: Rename PREEMPT_CHECK_OFFSET to PREEMPT_DISABLE_OFFSET
preempt: Disable preemption from preempt_schedule*() callers
sched: Pull preemption disablement duty up to __schedule() callers
preempt: Fix out of date comment
preempt: Remove PREEMPT_ACTIVE unmasking off in_atomic()


arch/m68k/include/asm/irqflags.h | 3 -
include/linux/bottom_half.h | 1 -
include/linux/hardirq.h | 2 +-
include/linux/preempt.h | 123 ++++++++++++++++++++++++++++++++++++++-
include/linux/preempt_mask.h | 117 -------------------------------------
include/linux/sched.h | 2 +-
kernel/sched/core.c | 29 +++------
lib/radix-tree.c | 2 +-
8 files changed, 133 insertions(+), 146 deletions(-)
--
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/