Rev 1104 | Rev 1576 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1104 | Rev 1428 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | 36 | ||
| 37 | /** Minimum size to be allocated by malloc */ |
37 | /** Minimum size to be allocated by malloc */ |
| 38 | #define SLAB_MIN_MALLOC_W 4 |
38 | #define SLAB_MIN_MALLOC_W 4 |
| 39 | 39 | ||
| 40 | /** Maximum size to be allocated by malloc */ |
40 | /** Maximum size to be allocated by malloc */ |
| 41 | #define SLAB_MAX_MALLOC_W 17 |
41 | #define SLAB_MAX_MALLOC_W 18 |
| 42 | 42 | ||
| 43 | /** Initial Magazine size (TODO: dynamically growing magazines) */ |
43 | /** Initial Magazine size (TODO: dynamically growing magazines) */ |
| 44 | #define SLAB_MAG_SIZE 4 |
44 | #define SLAB_MAG_SIZE 4 |
| 45 | 45 | ||
| 46 | /** If object size is less, store control structure inside SLAB */ |
46 | /** If object size is less, store control structure inside SLAB */ |