Christoph Lameter
0f389ec630
slub: No need for per node slab counters if !SLUB_DEBUG
...
The per node counters are used mainly for showing data through the sysfs API.
If that API is not compiled in then there is no point in keeping track of this
data. Disable counters for the number of slabs and the number of total slabs
if !SLUB_DEBUG. Incrementing the per node counters is also accessing a
potentially contended cacheline so this could actually be a performance
benefit to embedded systems.
SLABINFO support is also affected. It now must depends on SLUB_DEBUG (which
is on by default).
Patch also avoids a check for a NULL kmem_cache_node pointer in new_slab()
if the system is not compiled with NUMA support.
[penberg@cs.helsinki.fi: fix oops and move ->nr_slabs into CONFIG_SLUB_DEBUG]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
2008-04-14 18:53:02 +03:00
..
acpi
ACPI, cpuidle: Clarify C-state description in sysfs
2008-02-14 00:09:55 -05:00
asm-alpha
alpha: get_current(): don't add zero to current_thread_info()->task
2008-04-02 15:28:20 -07:00
asm-arm
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-avr32
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-blackfin
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-cris
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-frv
FRV: Don't make smp_{r, w, }mb() interpolate MEMBAR when CONFIG_SMP=n [try #2 ]
2008-04-10 13:41:29 -07:00
asm-generic
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-h8300
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-ia64
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-m32r
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-m68k
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-m68knommu
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-mips
[MIPS] Handle aliases in vmalloc correctly.
2008-04-07 22:31:04 +01:00
asm-mn10300
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-parisc
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-powerpc
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-ppc
[PPC] 8xx: swap bug-fix
2008-03-07 16:56:54 -06:00
asm-s390
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-sh
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-sparc
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-sparc64
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-um
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-v850
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
asm-x86
Add commentary about the new "asmlinkage_protect()" macro
2008-04-10 17:35:23 -07:00
asm-xtensa
kvm: provide kvm.h for all architecture: fixes headers_install
2008-04-02 15:28:18 -07:00
crypto
[CRYPTO] skcipher: Fix section mismatches
2008-03-08 20:29:43 +08:00
keys
linux
slub: No need for per node slab counters if !SLUB_DEBUG
2008-04-14 18:53:02 +03:00
math-emu
media
V4L/DVB (7192): Adds support for Genius TVGo A11MCE
2008-02-18 11:15:19 -03:00
mtd
net
[TCP]: tcp_simple_retransmit can cause S+L
2008-04-07 22:33:07 -07:00
pcmcia
rdma
IB/core: Remove unused struct ib_device.flags member
2008-02-08 14:47:26 -08:00
rxrpc
scsi
[SCSI] iscsi class: regression - fix races with state manipulation and blocking/unblocking
2008-03-05 12:04:09 -06:00
sound
[ALSA] opl3 - Fix compilation without sequencer support
2008-02-22 14:20:08 -08:00
video
xen
Kbuild