diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-10-27 05:45:44 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-10-27 05:45:44 +0000 |
commit | ce900696979cc5184bf9efef8f171fe4e675b03f (patch) | |
tree | 19855be5af0ad23e7fab42e2468f4704611e63d0 | |
parent | 6e88cf01d905a4fb65edf38a269daa97b31c9617 (diff) | |
download | FreeBSD-src-ce900696979cc5184bf9efef8f171fe4e675b03f.zip FreeBSD-src-ce900696979cc5184bf9efef8f171fe4e675b03f.tar.gz |
Remove member p_procscopegrp which is no longer used by libthr.
-rw-r--r-- | sys/kern/kern_thread.c | 8 | ||||
-rw-r--r-- | sys/sys/proc.h | 3 |
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index b16c8f5..74af901 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -278,11 +278,6 @@ ksegrp_unlink(struct ksegrp *kg) p = kg->kg_proc; TAILQ_REMOVE(&p->p_ksegrps, kg, kg_ksegrp); p->p_numksegrps--; - /* - * Aggregate stats from the KSE - */ - if (p->p_procscopegrp == kg) - p->p_procscopegrp = NULL; } #endif @@ -1135,9 +1130,6 @@ thread_single_end(void) p->p_flag &= ~(P_STOPPED_SINGLE | P_SINGLE_EXIT | P_SINGLE_BOUNDARY); mtx_lock_spin(&sched_lock); p->p_singlethread = NULL; -#ifdef KSE - p->p_procscopegrp = NULL; -#endif /* * If there are other threads they mey now run, * unless of course there is a blanket 'stop order' diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 483c80a..17926cc 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -661,9 +661,6 @@ struct proc { int p_suspcount; /* (c) Num threads in suspended mode. */ struct thread *p_xthread; /* (c) Trap thread */ int p_boundary_count;/* (c) Num threads at user boundary */ -#ifdef KSE - struct ksegrp *p_procscopegrp; -#endif int p_pendingcnt; /* how many signals are pending */ struct itimers *p_itimers; /* (c) POSIX interval timers. */ /* End area that is zeroed on creation. */ |