Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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) |
Jack Steiner | a615fa8 | 2006-03-06 15:42:50 -0800 | [diff] [blame] | 22 | #if (NR_CPUS > 512) || (MAX_NUMNODES > 256) || !defined(CONFIG_MMU) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | CACHE(262144) |
Jack Steiner | a615fa8 | 2006-03-06 15:42:50 -0800 | [diff] [blame] | 24 | #endif |
| 25 | #ifndef CONFIG_MMU |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | CACHE(524288) |
| 27 | CACHE(1048576) |
| 28 | #ifdef CONFIG_LARGE_ALLOCS |
| 29 | CACHE(2097152) |
| 30 | CACHE(4194304) |
| 31 | CACHE(8388608) |
| 32 | CACHE(16777216) |
| 33 | CACHE(33554432) |
| 34 | #endif /* CONFIG_LARGE_ALLOCS */ |
| 35 | #endif /* CONFIG_MMU */ |