Rev 822 | Rev 1576 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 822 | Rev 1104 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #ifndef __SLAB_H__ |
29 | #ifndef __SLAB_H__ |
30 | #define __SLAB_H__ |
30 | #define __SLAB_H__ |
31 | 31 | ||
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 <atomic.h> |
35 | #include <mm/frame.h> |
35 | #include <mm/frame.h> |
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 |