diff options
author | das <das@FreeBSD.org> | 2004-09-19 18:34:17 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2004-09-19 18:34:17 +0000 |
commit | 8b64b8f0288600f31ffc708cf66e8b75e3430949 (patch) | |
tree | a883b85688bf1e9cee8a5852cea1fe606fa15bb0 /sys/sys/sched.h | |
parent | ca50096305a4f44d3cd3853b12eeb36b16115ab0 (diff) | |
download | FreeBSD-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.h | 2 |
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_ */ |