summaryrefslogtreecommitdiffstats
path: root/sys/sys/sched.h
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-09-19 18:34:17 +0000
committerdas <das@FreeBSD.org>2004-09-19 18:34:17 +0000
commit8b64b8f0288600f31ffc708cf66e8b75e3430949 (patch)
treea883b85688bf1e9cee8a5852cea1fe606fa15bb0 /sys/sys/sched.h
parentca50096305a4f44d3cd3853b12eeb36b16115ab0 (diff)
downloadFreeBSD-src-8b64b8f0288600f31ffc708cf66e8b75e3430949.zip
FreeBSD-src-8b64b8f0288600f31ffc708cf66e8b75e3430949.tar.gz
The zone from which proc structures are allocated is marked
UMA_ZONE_NOFREE to guarantee type stability, so proc_fini() should never be called. Move an assertion from proc_fini() to proc_dtor() and garbage-collect the rest of the unreachable code. I have retained vm_proc_dispose(), since I consider its disuse a bug.
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r--sys/sys/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index 8d22857..38dd125 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -108,11 +108,11 @@ sched_unpin(void)
/* temporarily here */
void schedinit(void);
-void sched_destroyproc(struct proc *p);
void sched_init_concurrency(struct ksegrp *kg);
void sched_set_concurrency(struct ksegrp *kg, int cuncurrency);
void sched_schedinit(void);
void sched_newproc(struct proc *p, struct ksegrp *kg, struct thread *td);
void sched_thread_exit(struct thread *td);
void sched_newthread(struct thread *td);
+
#endif /* !_SYS_SCHED_H_ */
OpenPOWER on IntegriCloud