diff options
author | Richard Braun <rbraun@sceen.net> | 2012-07-07 08:10:04 +0000 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-07-07 08:10:04 +0000 |
commit | 43d2ad0d2043a278a2772519013f25a0bc4b067f (patch) | |
tree | 7f146c960d883c1355dacd41d5c330fb67644928 /ddb/db_output.h | |
parent | 2d2da4aad582bf1d63554cd9496285787db3e66e (diff) |
Allocate kernel thread stacks out of kmem_map
The kernel submaps eat most of the available kernel space. Using the
main kernel map for thread stacks sometimes lead to exhaustion when many
threads are created. Use kmem_map instead to increase this limit.
* kern/thread.c (stack_alloc): Use kmem_map instead of kernel_map for
stack allocation.
(stack_collect): Likewise for release.
Diffstat (limited to 'ddb/db_output.h')
0 files changed, 0 insertions, 0 deletions