Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #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) | |
0aa817f0 | 22 | #if KMALLOC_MAX_SIZE >= 262144 |
1da177e4 | 23 | CACHE(262144) |
a615fa83 | 24 | #endif |
0aa817f0 | 25 | #if KMALLOC_MAX_SIZE >= 524288 |
1da177e4 | 26 | CACHE(524288) |
0aa817f0 CL |
27 | #endif |
28 | #if KMALLOC_MAX_SIZE >= 1048576 | |
1da177e4 | 29 | CACHE(1048576) |
0aa817f0 CL |
30 | #endif |
31 | #if KMALLOC_MAX_SIZE >= 2097152 | |
1da177e4 | 32 | CACHE(2097152) |
0aa817f0 CL |
33 | #endif |
34 | #if KMALLOC_MAX_SIZE >= 4194304 | |
1da177e4 | 35 | CACHE(4194304) |
0aa817f0 CL |
36 | #endif |
37 | #if KMALLOC_MAX_SIZE >= 8388608 | |
1da177e4 | 38 | CACHE(8388608) |
0aa817f0 CL |
39 | #endif |
40 | #if KMALLOC_MAX_SIZE >= 16777216 | |
1da177e4 | 41 | CACHE(16777216) |
0aa817f0 CL |
42 | #endif |
43 | #if KMALLOC_MAX_SIZE >= 33554432 | |
1da177e4 | 44 | CACHE(33554432) |
0aa817f0 | 45 | #endif |