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-28 15:48:04 +0200 |
commit | 66fa48d924d6898c97eb29a1165bbbc0f08c6ab4 (patch) | |
tree | 6b4798c6fd55f97fad06f7b4d854fa23a4f84d27 /kern/exception.h | |
parent | ff7a6dae1e8a6a4d5ce4591b682116e22e76dc18 (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 'kern/exception.h')
0 files changed, 0 insertions, 0 deletions