summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_kse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_kse.c')
-rw-r--r--sys/kern/kern_kse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c
index b3017d0..55b0f24 100644
--- a/sys/kern/kern_kse.c
+++ b/sys/kern/kern_kse.c
@@ -899,7 +899,7 @@ thread_reap(void)
struct ksegrp *
ksegrp_alloc(void)
{
- return (uma_zalloc(ksegrp_zone, 0));
+ return (uma_zalloc(ksegrp_zone, M_WAITOK));
}
/*
@@ -908,7 +908,7 @@ ksegrp_alloc(void)
struct kse *
kse_alloc(void)
{
- return (uma_zalloc(kse_zone, 0));
+ return (uma_zalloc(kse_zone, M_WAITOK));
}
/*
@@ -918,7 +918,7 @@ struct thread *
thread_alloc(void)
{
thread_reap(); /* check if any zombies to get */
- return (uma_zalloc(thread_zone, 0));
+ return (uma_zalloc(thread_zone, M_WAITOK));
}
/*
OpenPOWER on IntegriCloud