diff options
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r-- | sys/kern/kern_thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 31ed03e..78bce30 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -729,7 +729,7 @@ thread_reap(void) struct ksegrp * ksegrp_alloc(void) { - return (uma_zalloc(ksegrp_zone, M_WAITOK)); + return (uma_zalloc(ksegrp_zone, 0)); } /* @@ -738,7 +738,7 @@ ksegrp_alloc(void) struct kse * kse_alloc(void) { - return (uma_zalloc(kse_zone, M_WAITOK)); + return (uma_zalloc(kse_zone, 0)); } /* @@ -748,7 +748,7 @@ struct thread * thread_alloc(void) { thread_reap(); /* check if any zombies to get */ - return (uma_zalloc(thread_zone, M_WAITOK)); + return (uma_zalloc(thread_zone, 0)); } /* |