linux/kernel
Andi Kleen 495ab9c045 [PATCH] i386/x86-64/ia64: Move polling flag into thread_info_status
During some profiling I noticed that default_idle causes a lot of
memory traffic. I think that is caused by the atomic operations
to clear/set the polling flag in thread_info. There is actually
no reason to make this atomic - only the idle thread does it
to itself, other CPUs only read it. So I moved it into ti->status.

Converted i386/x86-64/ia64 for now because that was the easiest
way to fix ACPI which also manipulates these flags in its idle
function.

Cc: Nick Piggin <npiggin@novell.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 10:48:21 -07:00
..
irq
power Revert "swsusp special saveable pages support" commits 2006-06-25 18:41:00 -07:00
.gitignore
acct.c [PATCH] pacct: none-delayed process accounting accumulation 2006-06-25 10:01:25 -07:00
audit.c
audit.h
auditfilter.c
auditsc.c
capability.c
compat.c [PATCH] N32 sigset and __COMPAT_ENDIAN_SWAP__ 2006-06-25 10:01:15 -07:00
configs.c
cpu.c
cpuset.c
dma.c
exec_domain.c
exit.c [PATCH] pacct: avoidance to refer the last thread as a representation of the process 2006-06-25 10:01:25 -07:00
extable.c
fork.c [PATCH] pacct: add pacct_struct to fix some pacct bugs. 2006-06-25 10:01:25 -07:00
futex_compat.c
futex.c
hrtimer.c [PATCH] ktime/hrtimer: fix kernel-doc comments 2006-06-25 10:01:23 -07:00
itimer.c
kallsyms.c
Kconfig.hz
Kconfig.preempt
kexec.c
kfifo.c
kmod.c
kprobes.c
ksysfs.c
kthread.c [PATCH] kthread: move kernel-doc and put it into DocBook 2006-06-25 10:01:24 -07:00
Makefile [PATCH] x86_64: reliable stack trace support 2006-06-26 10:48:17 -07:00
module.c [PATCH] x86_64: reliable stack trace support 2006-06-26 10:48:17 -07:00
mutex-debug.c
mutex-debug.h
mutex.c
mutex.h
panic.c
params.c
pid.c
posix-cpu-timers.c
posix-timers.c
printk.c [PATCH] printk time parameter 2006-06-25 10:01:13 -07:00
profile.c
ptrace.c
rcupdate.c
rcutorture.c
relay.c
resource.c
sched.c [PATCH] i386/x86-64/ia64: Move polling flag into thread_info_status 2006-06-26 10:48:21 -07:00
seccomp.c
signal.c
softirq.c [PATCH] cpu hotplug: fix CPU_UP_CANCEL handling 2006-06-25 10:01:22 -07:00
softlockup.c [PATCH] cpu hotplug: fix CPU_UP_CANCEL handling 2006-06-25 10:01:22 -07:00
spinlock.c
stop_machine.c [PATCH] kthread: convert stop_machine into a kthread 2006-06-25 10:01:22 -07:00
sys_ni.c
sys.c [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
sysctl.c [PATCH] x86_64: Add compat_printk and sysctl to turn off compat layer warnings 2006-06-26 10:48:16 -07:00
time.c
timer.c [PATCH] Define __raw_get_cpu_var and use it 2006-06-25 10:01:01 -07:00
uid16.c
unwind.c [PATCH] x86_64: allow unwinder to build without module support 2006-06-26 10:48:18 -07:00
user.c
wait.c
workqueue.c [PATCH] cpu hotplug: fix CPU_UP_CANCEL handling 2006-06-25 10:01:22 -07:00