summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2002-09-28 07:27:31 +0000
committerjulian <julian@FreeBSD.org>2002-09-28 07:27:31 +0000
commit609d82aa67bce900c025f86c5e2516ecaa8de7dd (patch)
tree69071f17d06bf8c8d9a39b275aa594180af151f1
parentb91e8a14c2d73a9de0bf84aaaa9e47061ebacf73 (diff)
downloadFreeBSD-src-609d82aa67bce900c025f86c5e2516ecaa8de7dd.zip
FreeBSD-src-609d82aa67bce900c025f86c5e2516ecaa8de7dd.tar.gz
Place 'completed thread anchor' in pre-zero'd secion of the KSEGRP
structure, not the copied section.
-rw-r--r--sys/sys/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index f8d313e..63327cd 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -469,13 +469,13 @@ struct ksegrp {
struct thread *kg_last_assigned; /* Last thread assigned to a KSE */
int kg_runnable; /* Num runnable threads on queue. */
int kg_runq_kses; /* Num KSEs on runq. */
+ struct kse_thr_mailbox *kg_completed; /* (c) completed thread mboxes */
#define kg_endzero kg_pri_class
#define kg_startcopy kg_endzero
u_char kg_pri_class; /* (j) Scheduling class. */
u_char kg_user_pri; /* (j) User pri from estcpu and nice. */
char kg_nice; /* (j?/k?) Process "nice" value. */
- struct kse_thr_mailbox *kg_completed; /* (c) completed thread mboxes */
#define kg_endcopy kg_numthreads
int kg_numthreads; /* Num threads in total */
int kg_idle_kses; /* num KSEs idle */
OpenPOWER on IntegriCloud