Rev 789 | Rev 814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 789 | Rev 791 | ||
|---|---|---|---|
| Line 32... | Line 32... | ||
| 32 | #include <adt/list.h> |
32 | #include <adt/list.h> |
| 33 | #include <synch/spinlock.h> |
33 | #include <synch/spinlock.h> |
| 34 | #include <arch/atomic.h> |
34 | #include <arch/atomic.h> |
| 35 | 35 | ||
| 36 | /** Minimum size to be allocated by malloc */ |
36 | /** Minimum size to be allocated by malloc */ |
| 37 | #define SLAB_MIN_MALLOC_W 3 |
37 | #define SLAB_MIN_MALLOC_W 4 |
| 38 | 38 | ||
| 39 | /** Maximum size to be allocated by malloc */ |
39 | /** Maximum size to be allocated by malloc */ |
| 40 | #define SLAB_MAX_MALLOC_W 17 |
40 | #define SLAB_MAX_MALLOC_W 17 |
| 41 | 41 | ||
| 42 | /** Initial Magazine size (TODO: dynamically growing magazines) */ |
42 | /** Initial Magazine size (TODO: dynamically growing magazines) */ |