Date: Thu, 5 Sep 2002 23:45:03 -0700 (PDT) From: Jonathan Mini <mini@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 17135 for review Message-ID: <200209060645.g866j394083826@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17135 Change 17135 by mini@mini_stylus on 2002/09/05 23:44:57 Diff reduction. Affected files ... .. //depot/projects/kse/lib/libc/alpha/gen/makecontext.c#4 edit .. //depot/projects/kse/sys/kern/kern_thread.c#101 edit Differences ... ==== //depot/projects/kse/lib/libc/alpha/gen/makecontext.c#4 (text+ko) ==== @@ -32,8 +32,8 @@ #include <errno.h> #include <stdarg.h> +#include <ucontext.h> #include <unistd.h> -#include <ucontext.h> /* Prototypes */ ==== //depot/projects/kse/sys/kern/kern_thread.c#101 (text+ko) ==== @@ -73,7 +73,7 @@ SYSCTL_INT(_kern_threads, OID_AUTO, allocated, CTLFLAG_RD, &allocated_threads, 0, "Number of threads in zone."); -static int oiks_debug = 1; /* 0 disable, 1 printf, 2 enter debugger */ +static int oiks_debug = 0; /* 0 disable, 1 printf, 2 enter debugger */ SYSCTL_INT(_kern_threads, OID_AUTO, oiks, CTLFLAG_RW, &oiks_debug, 0, "OIKS thread debug"); @@ -456,7 +456,9 @@ ke->ke_tdspare = NULL; } else { mtx_unlock_spin(&sched_lock); + mtx_lock(&Giant); td2 = thread_alloc(); + mtx_unlock(&Giant); mtx_lock_spin(&sched_lock); } CTR3(KTR_PROC, "thread_schedule_upcall: thread %p (pid %d, %s)", To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209060645.g866j394083826>