diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-24 09:41:03 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-24 09:41:03 +0000 |
commit | e5adbdcf1bb0d889713347ba843db53e5782b2f1 (patch) | |
tree | 8fdbcb4d0e0ee71830ff3cdc0e60cfa87ca1275a /lib/libc/regex/regcomp.c | |
parent | 8ec9f8bcf7dd05c8c035d406c155c6e611e82fde (diff) | |
download | FreeBSD-src-e5adbdcf1bb0d889713347ba843db53e5782b2f1.zip FreeBSD-src-e5adbdcf1bb0d889713347ba843db53e5782b2f1.tar.gz |
- Split p_flag up into two fields. p_flag keeps most of the previous flags
and is protected by the proc lock. p_sflag is protected by sched_lock
and holds the following flags: PS_INMEM, PS_OWEUPC, PS_PROFIL, PS_SINTR,
PS_TIMEOUT, PS_ALRMPEND, PS_PROFPEND, PS_CVWAITQ, PS_SWAPINREQ, and
PS_SWAPPING.
- p_klist is definitely locked now by the proc lock.
- p_runtime, p_[usi]u are locked by sched_lock.
- Add a new P_KTHREAD flag set for kernel threads created via
kthread_create(9).
- STOPEVENT() only needs the proc lock, it does not need Giant.
- faultin() already checks PS_INMEM, so simplify the check in PHOLD() so
that we only need to grab the proc lock and let faultin() perform the
PS_INMEM check.
- Add a prototype for zpfind().
- Add prototypes for the new fork_exit() and fork_return() MI functions
that manage the fork return path.
- Add a prototype for the MD function userret() so that it can be called
from fork_return().
- Add needed include of <machine/frame.h> in the kernel.
Diffstat (limited to 'lib/libc/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions