original_kernel/arch/ia64/kernel
Chen, Kenneth W 1e185b97b4 [PATCH] ia64: cpu_idle performance bug fix
Our performance validation on 2.6.15-rc1 caught a disastrous performance
regression on ia64 with netperf (-98%) and volanomark (-58%) compares to
previous kernel version 2.6.14-git7.  See the following chart (result
group 1 & 2).

  http://kernel-perf.sourceforge.net/results.machine_id=26.html

We have root caused it to commit 64c7c8f885

This changeset broke the ia64 task resched notification.  In
sched.c:resched_task(), a reschedule IPI is conditioned upon
TIF_POLLING_NRFLAG.  However, the above changeset unconditionally set
the polling thread flag for idle tasks regardless whether pal_halt_light
is in use or not.  As a result, resched IPI is not sent from
resched_task().  And since the default behavior on ia64 is to use
pal_halt_light, we end up delaying the rescheduling task until next
timer tick, and thus cause the performance regression.

This fixes the performance bug.  I'm glad our performance suite is
turning up bad performance bug like this in time.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-15 15:50:51 -08:00
..
cpufreq
Makefile
acpi-ext.c
acpi.c
asm-offsets.c
brl_emu.c
cyclone.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
efi.c [IA64] Replace kcalloc(1, with kzalloc. 2005-11-10 11:28:20 -08:00
efi_stub.S
entry.S
entry.h
fsys.S
gate-data.S
gate.S
gate.lds.S
head.S
ia64_ksyms.c
init_task.c
iosapic.c
irq.c
irq_ia64.c
irq_lsapic.c
ivt.S [IA64] 4-level page tables 2005-11-11 09:37:29 -08:00
jprobes.S
kprobes.c [IA64] Extend notify_die() hooks for IA64 2005-11-07 11:27:13 -08:00
machvec.c
mca.c [IA64] Extend notify_die() hooks for IA64 2005-11-07 11:27:13 -08:00
mca_asm.S
mca_drv.c Pull mca-check-psp into release branch 2005-11-10 10:38:05 -08:00
mca_drv.h
mca_drv_asm.S
minstate.h
module.c
numa.c
pal.S
palinfo.c
patch.c
perfmon.c [PATCH] kfree cleanup: arch 2005-11-07 07:54:06 -08:00
perfmon_default_smpl.c
perfmon_generic.h
perfmon_itanium.h
perfmon_mckinley.h
process.c [PATCH] ia64: cpu_idle performance bug fix 2005-11-15 15:50:51 -08:00
ptrace.c [IA64] fix warning unused variable `g' 2005-10-28 15:52:13 -07:00
sal.c
salinfo.c
semaphore.c
setup.c Pull context-bitmap into release branch 2005-11-10 10:39:49 -08:00
sigframe.h
signal.c [IA64] align signal-frame even when not using alternate signal-stack 2005-11-08 09:58:06 -08:00
smp.c
smpboot.c [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
sys_ia64.c
time.c [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
topology.c
traps.c [IA64] Extend notify_die() hooks for IA64 2005-11-07 11:27:13 -08:00
unaligned.c
uncached.c
unwind.c
unwind_decoder.c
unwind_i.h
vmlinux.lds.S