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-07-26 12:14:40 +0200 |
commit | 77c0a29cf99fb23b5604abf558579a612bfef584 (patch) | |
tree | acf74cb93f5b057cb07d9205073fb56a597a5a20 /vm/vm_kern.h | |
parent | 75e6b9de564382ce5e4d4f2092635ccded70a14c (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 'vm/vm_kern.h')
0 files changed, 0 insertions, 0 deletions