Revision 41d54d3bf83f62d3ff5948cb788fe6007e66a0d0 authored by Christoph Lameter on 03 July 2008, 14:14:26 UTC, committed by Pekka Enberg on 03 July 2008, 16:01:55 UTC
The 192 byte cache is not necessary if we have a basic alignment of 128
byte. If it would be used then the 192 would be aligned to the next 128 byte
boundary which would result in another 256 byte cache. Two 256 kmalloc caches
cause sysfs to complain about a duplicate entry.

MIPS needs 128 byte aligned kmalloc caches and spits out warnings on boot without
this patch.

Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
1 parent 481c534
History
File Mode Size
Makefile -rw-r--r-- 195 bytes
balloc.c -rw-r--r-- 5.6 KB
dir.c -rw-r--r-- 9.1 KB
file.c -rw-r--r-- 1.1 KB
ialloc.c -rw-r--r-- 5.8 KB
inode.c -rw-r--r-- 9.2 KB
itree.c -rw-r--r-- 11.4 KB
namei.c -rw-r--r-- 6.2 KB
super.c -rw-r--r-- 14.4 KB
symlink.c -rw-r--r-- 487 bytes
sysv.h -rw-r--r-- 7.9 KB

back to top