Andrew Morton
d69a892268
[PATCH] Fix WARN_ON / WARN_ON_ONCE regression
...
Tim and Ananiev report that the recent WARN_ON_ONCE changes cause increased
cache misses with the tbench workload. Apparently due to the access to the
newly-added static variable.
Rearrange the code so that we don't touch that variable unless the warning is
going to trigger.
Also rework the logic so that the static variable starts out at zero, so we
can move it into bss.
It would seem logical to mark the static variable as __read_mostly too. But
it would be wrong, because that would put it back into the vmlinux image, and
the kernel will never read from this variable in normal operation anyway.
Unless the compiler or hardware go and do some prefetching on us?
For some reason this patch shrinks softirq.o text by 40 bytes.
Cc: Tim Chen <tim.c.chen@intel.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "Ananiev, Leonid I" <leonid.i.ananiev@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-06 08:53:39 -07:00
..
acpi
asm-alpha
[PATCH] rename the provided execve functions to kernel_execve
2006-10-02 07:57:23 -07:00
asm-arm
[PATCH] atmel_serial: Pass fixed register mappings through platform_data
2006-10-04 10:25:05 -07:00
asm-arm26
fix file specification in comments
2006-10-03 23:01:26 +02:00
asm-avr32
[PATCH] AVR32: Allow renumbering of serial devices
2006-10-04 10:25:06 -07:00
asm-cris
[PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references
2006-10-02 07:57:23 -07:00
asm-frv
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
asm-generic
[PATCH] Fix WARN_ON / WARN_ON_ONCE regression
2006-10-06 08:53:39 -07:00
asm-h8300
[PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references
2006-10-02 07:57:23 -07:00
asm-i386
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
asm-ia64
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
asm-m32r
fix file specification in comments
2006-10-03 23:01:26 +02:00
asm-m68k
fix file specification in comments
2006-10-03 23:01:26 +02:00
asm-m68knommu
fix file specification in comments
2006-10-03 23:01:26 +02:00
asm-mips
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
asm-parisc
[PARISC] Make DMA routines more stubby
2006-10-04 06:51:07 -06:00
asm-powerpc
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
asm-ppc
fix file specification in comments
2006-10-03 23:01:26 +02:00
asm-s390
[S390] Remove open-coded mem_map usage.
2006-10-04 20:02:23 +02:00
asm-sh
fix file specification in comments
2006-10-03 23:01:26 +02:00
asm-sh64
fix file specification in comments
2006-10-03 23:01:26 +02:00
asm-sparc
fix file specification in comments
2006-10-03 23:01:26 +02:00
asm-sparc64
Remove all inclusions of <linux/config.h>
2006-10-04 03:38:54 -04:00
asm-um
[PATCH] rename the provided execve functions to kernel_execve
2006-10-02 07:57:23 -07:00
asm-v850
[PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references
2006-10-02 07:57:23 -07:00
asm-x86_64
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
asm-xtensa
fix file specification in comments
2006-10-03 23:01:26 +02:00
crypto
keys
linux
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
math-emu
media
V4L/DVB (4666): Ensure the WM8775 driver is loaded generically for any board.
2006-10-03 15:13:48 -03:00
mtd
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
2006-10-01 17:55:53 +01:00
net
Remove all inclusions of <linux/config.h>
2006-10-04 03:38:54 -04:00
pcmcia
rdma
rxrpc
scsi
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
2006-10-04 18:57:35 -07:00
sound
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
video
fix file specification in comments
2006-10-03 23:01:26 +02:00
Kbuild