summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thread.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
committerimp <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
commitcf874b345d0f766fb64cf4737e1c85ccc78d2bee (patch)
tree9e20e320fe15ae4bf68f8335fcf9d3e71d3b3614 /sys/kern/kern_thread.c
parentb72619cecb8265d3efb3781b0acff1380762c173 (diff)
downloadFreeBSD-src-cf874b345d0f766fb64cf4737e1c85ccc78d2bee.zip
FreeBSD-src-cf874b345d0f766fb64cf4737e1c85ccc78d2bee.tar.gz
Back out M_* changes, per decision of the TRB.
Approved by: trb
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r--sys/kern/kern_thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index b3017d0..55b0f24 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.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