summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-07-07 08:10:04 +0000
committerRichard Braun <rbraun@sceen.net>2012-07-07 08:10:04 +0000
commit43d2ad0d2043a278a2772519013f25a0bc4b067f (patch)
tree7f146c960d883c1355dacd41d5c330fb67644928 /tests
parent2d2da4aad582bf1d63554cd9496285787db3e66e (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 'tests')
0 files changed, 0 insertions, 0 deletions