blob: e576b848ce10f8073dae6eefea4915c408b2601c [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#if (PAGE_SIZE == 4096)
2 CACHE(32)
3#endif
4 CACHE(64)
5#if L1_CACHE_BYTES < 64
6 CACHE(96)
7#endif
8 CACHE(128)
9#if L1_CACHE_BYTES < 128
10 CACHE(192)
11#endif
12 CACHE(256)
13 CACHE(512)
14 CACHE(1024)
15 CACHE(2048)
16 CACHE(4096)
17 CACHE(8192)
18 CACHE(16384)
19 CACHE(32768)
20 CACHE(65536)
21 CACHE(131072)
Christoph Lameter0aa817f2007-05-16 22:11:01 -070022#if KMALLOC_MAX_SIZE >= 262144
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 CACHE(262144)
Jack Steinera615fa82006-03-06 15:42:50 -080024#endif
Christoph Lameter0aa817f2007-05-16 22:11:01 -070025#if KMALLOC_MAX_SIZE >= 524288
Linus Torvalds1da177e2005-04-16 15:20:36 -070026 CACHE(524288)
Christoph Lameter0aa817f2007-05-16 22:11:01 -070027#endif
28#if KMALLOC_MAX_SIZE >= 1048576
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 CACHE(1048576)
Christoph Lameter0aa817f2007-05-16 22:11:01 -070030#endif
31#if KMALLOC_MAX_SIZE >= 2097152
Linus Torvalds1da177e2005-04-16 15:20:36 -070032 CACHE(2097152)
Christoph Lameter0aa817f2007-05-16 22:11:01 -070033#endif
34#if KMALLOC_MAX_SIZE >= 4194304
Linus Torvalds1da177e2005-04-16 15:20:36 -070035 CACHE(4194304)
Christoph Lameter0aa817f2007-05-16 22:11:01 -070036#endif
37#if KMALLOC_MAX_SIZE >= 8388608
Linus Torvalds1da177e2005-04-16 15:20:36 -070038 CACHE(8388608)
Christoph Lameter0aa817f2007-05-16 22:11:01 -070039#endif
40#if KMALLOC_MAX_SIZE >= 16777216
Linus Torvalds1da177e2005-04-16 15:20:36 -070041 CACHE(16777216)
Christoph Lameter0aa817f2007-05-16 22:11:01 -070042#endif
43#if KMALLOC_MAX_SIZE >= 33554432
Linus Torvalds1da177e2005-04-16 15:20:36 -070044 CACHE(33554432)
Christoph Lameter0aa817f2007-05-16 22:11:01 -070045#endif