summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/disp/thread.c
diff options
context:
space:
mode:
authorelowe <none@none>2006-05-18 09:33:13 -0700
committerelowe <none@none>2006-05-18 09:33:13 -0700
commita859926565cb356b64ec9747a88da4ff003ad4f8 (patch)
treef56538ec3e3246f26a3bde3d6ad306bf33ef458b /usr/src/uts/common/disp/thread.c
parent7d7a4f21751ca8bed6480f60e0689f4c9a0433b9 (diff)
downloadillumos-joyent-a859926565cb356b64ec9747a88da4ff003ad4f8.tar.gz
6301942 system crashes with overwritten machpcb
Diffstat (limited to 'usr/src/uts/common/disp/thread.c')
-rw-r--r--usr/src/uts/common/disp/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/disp/thread.c b/usr/src/uts/common/disp/thread.c
index 4405e40209..fc2bbb0337 100644
--- a/usr/src/uts/common/disp/thread.c
+++ b/usr/src/uts/common/disp/thread.c
@@ -171,6 +171,8 @@ thread_init(void)
thread_cache = kmem_cache_create("thread_cache", sizeof (kthread_t),
PTR24_ALIGN, NULL, NULL, NULL, NULL, static_arena, 0);
+ lwp_stk_cache_init();
+
lwp_cache = kmem_cache_create("lwp_cache", sizeof (klwp_t),
0, NULL, NULL, NULL, NULL, NULL, 0);
#endif