summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2007-06-12 20:22:06 +0000
committerjeff <jeff@FreeBSD.org>2007-06-12 20:22:06 +0000
commit3062565b819216829e98d3bb1d8e5b29724b7a10 (patch)
tree5f932ead08234225b2972cb19dd5f8e47970e7d5
parent1dc9ad2cb932264d7764537f9ffc46d9a6979935 (diff)
downloadFreeBSD-src-3062565b819216829e98d3bb1d8e5b29724b7a10.zip
FreeBSD-src-3062565b819216829e98d3bb1d8e5b29724b7a10.tar.gz
- Fix kse by moving the upcalls list back out of the zero'd section.
I had tested this with the wrong libpthread.
-rw-r--r--sys/sys/proc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 18b15ff..7282a38 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -484,6 +484,9 @@ struct rusage_ext {
struct proc {
LIST_ENTRY(proc) p_list; /* (d) List of all processes. */
TAILQ_HEAD(, thread) p_threads; /* (j) all threads. */
+#ifdef KSE
+ TAILQ_HEAD(, kse_upcall) p_upcalls; /* (j) All upcalls in the proc. */
+#endif
struct mtx p_slock; /* process spin lock */
struct ucred *p_ucred; /* (c) Process owner's identity. */
struct filedesc *p_fd; /* (b) Open files. */
@@ -549,7 +552,6 @@ struct proc {
int p_pendingcnt; /* how many signals are pending */
struct itimers *p_itimers; /* (c) POSIX interval timers. */
#ifdef KSE
- TAILQ_HEAD(, kse_upcall) p_upcalls; /* (j) All upcalls in the proc. */
int p_numupcalls; /* (j) Num upcalls. */
int p_upsleeps; /* (c) Num threads in kse_release(). */
struct kse_thr_mailbox *p_completed; /* (c) Completed thread mboxes. */
OpenPOWER on IntegriCloud