2005-04-17 06:20:36 +08:00
|
|
|
#if (PAGE_SIZE == 4096)
|
|
|
|
CACHE(32)
|
|
|
|
#endif
|
|
|
|
CACHE(64)
|
|
|
|
#if L1_CACHE_BYTES < 64
|
|
|
|
CACHE(96)
|
|
|
|
#endif
|
|
|
|
CACHE(128)
|
|
|
|
#if L1_CACHE_BYTES < 128
|
|
|
|
CACHE(192)
|
|
|
|
#endif
|
|
|
|
CACHE(256)
|
|
|
|
CACHE(512)
|
|
|
|
CACHE(1024)
|
|
|
|
CACHE(2048)
|
|
|
|
CACHE(4096)
|
|
|
|
CACHE(8192)
|
|
|
|
CACHE(16384)
|
|
|
|
CACHE(32768)
|
|
|
|
CACHE(65536)
|
|
|
|
CACHE(131072)
|
2007-05-17 13:11:01 +08:00
|
|
|
#if KMALLOC_MAX_SIZE >= 262144
|
2005-04-17 06:20:36 +08:00
|
|
|
CACHE(262144)
|
2006-03-07 07:42:50 +08:00
|
|
|
#endif
|
2007-05-17 13:11:01 +08:00
|
|
|
#if KMALLOC_MAX_SIZE >= 524288
|
2005-04-17 06:20:36 +08:00
|
|
|
CACHE(524288)
|
2007-05-17 13:11:01 +08:00
|
|
|
#endif
|
|
|
|
#if KMALLOC_MAX_SIZE >= 1048576
|
2005-04-17 06:20:36 +08:00
|
|
|
CACHE(1048576)
|
2007-05-17 13:11:01 +08:00
|
|
|
#endif
|
|
|
|
#if KMALLOC_MAX_SIZE >= 2097152
|
2005-04-17 06:20:36 +08:00
|
|
|
CACHE(2097152)
|
2007-05-17 13:11:01 +08:00
|
|
|
#endif
|
|
|
|
#if KMALLOC_MAX_SIZE >= 4194304
|
2005-04-17 06:20:36 +08:00
|
|
|
CACHE(4194304)
|
2007-05-17 13:11:01 +08:00
|
|
|
#endif
|
|
|
|
#if KMALLOC_MAX_SIZE >= 8388608
|
2005-04-17 06:20:36 +08:00
|
|
|
CACHE(8388608)
|
2007-05-17 13:11:01 +08:00
|
|
|
#endif
|
|
|
|
#if KMALLOC_MAX_SIZE >= 16777216
|
2005-04-17 06:20:36 +08:00
|
|
|
CACHE(16777216)
|
2007-05-17 13:11:01 +08:00
|
|
|
#endif
|
|
|
|
#if KMALLOC_MAX_SIZE >= 33554432
|
2005-04-17 06:20:36 +08:00
|
|
|
CACHE(33554432)
|
2007-05-17 13:11:01 +08:00
|
|
|
#endif
|