Blame view

include/linux/kmalloc_sizes.h 724 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  #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)
0aa817f07   Christoph Lameter   Slab allocators: ...
22
  #if KMALLOC_MAX_SIZE >= 262144
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
23
  	CACHE(262144)
a615fa839   Jack Steiner   [PATCH] Increase ...
24
  #endif
0aa817f07   Christoph Lameter   Slab allocators: ...
25
  #if KMALLOC_MAX_SIZE >= 524288
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
26
  	CACHE(524288)
0aa817f07   Christoph Lameter   Slab allocators: ...
27
28
  #endif
  #if KMALLOC_MAX_SIZE >= 1048576
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
29
  	CACHE(1048576)
0aa817f07   Christoph Lameter   Slab allocators: ...
30
31
  #endif
  #if KMALLOC_MAX_SIZE >= 2097152
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
32
  	CACHE(2097152)
0aa817f07   Christoph Lameter   Slab allocators: ...
33
34
  #endif
  #if KMALLOC_MAX_SIZE >= 4194304
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
35
  	CACHE(4194304)
0aa817f07   Christoph Lameter   Slab allocators: ...
36
37
  #endif
  #if KMALLOC_MAX_SIZE >= 8388608
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
38
  	CACHE(8388608)
0aa817f07   Christoph Lameter   Slab allocators: ...
39
40
  #endif
  #if KMALLOC_MAX_SIZE >= 16777216
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
41
  	CACHE(16777216)
0aa817f07   Christoph Lameter   Slab allocators: ...
42
43
  #endif
  #if KMALLOC_MAX_SIZE >= 33554432
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
44
  	CACHE(33554432)
0aa817f07   Christoph Lameter   Slab allocators: ...
45
  #endif