linux/arch
Peter Zijlstra 75f93fed50 sched: Revert need_resched() to look at TIF_NEED_RESCHED
Yuanhan reported a serious throughput regression in his pigz
benchmark. Using the ftrace patch I found that several idle
paths need more TLC before we can switch the generic
need_resched() over to preempt_need_resched.

The preemption paths benefit most from preempt_need_resched and
do indeed use it; all other need_resched() users don't really
care that much so reverting need_resched() back to
tif_need_resched() is the simple and safe solution.

Reported-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: lkp@linux.intel.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20130927153003.GF15690@laptop.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2013-09-28 10:04:47 +02:00
..
alpha sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
arc sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
arm sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
arm64 sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
avr32 sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
blackfin sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
c6x sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
cris sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
frv sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
h8300 sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
hexagon sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
ia64 sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
m32r sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
m68k sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
metag sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
microblaze sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
mips sched: Extract the basic add/sub preempt_count modifiers 2013-09-25 14:07:54 +02:00
mn10300 sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
openrisc sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
parisc sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
powerpc sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
s390 sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
score sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
sh sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
sparc sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
tile sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
um sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
unicore32 sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
x86 sched: Revert need_resched() to look at TIF_NEED_RESCHED 2013-09-28 10:04:47 +02:00
xtensa sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
.gitignore
Kconfig microblaze: fix clone syscall 2013-08-13 17:57:48 -07:00