diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-02 16:20:44 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-15 12:43:26 +0200 |
commit | d08acfbf13804d0a70fc7ed5ad26a7828b15101b (patch) | |
tree | 766809dc61d1c21dbb56e23f18f05c27fd827d9a /include/stddef.h | |
parent | 9cbef3531bcba56b05b275ebf4d4fe0f03f3e361 (diff) |
kern: allocate kernel stacks using the slab allocator
* kern/slab.c (kmem_cache_init): Relax alignment restriction.
* kern/thread.c (stack_cache): New variable.
(stack_alloc): Use the slab allocator.
(stack_collect): Adjust accordingly.
(thread_init): Initialize `stack_cache'.
Diffstat (limited to 'include/stddef.h')
0 files changed, 0 insertions, 0 deletions