diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-24 10:23:21 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-24 10:23:21 +0000 |
commit | eabcf31b8251acb54cbdb10cb2c2a58283abad84 (patch) | |
tree | 07ac8e74486dde0a9aab93d99703db99572c1582 /lib/libc/stdlib/heapsort.c | |
parent | 451c942dba11e15e22f6154a092b2cc92e411a9c (diff) | |
download | FreeBSD-src-eabcf31b8251acb54cbdb10cb2c2a58283abad84.zip FreeBSD-src-eabcf31b8251acb54cbdb10cb2c2a58283abad84.tar.gz |
- Change userret() to take a struct trapframe * as its second argument and
to extract the PC from that to send to addupc_task() so that it can be
called from MI code.
- Remove all traces of have_giant with extreme prejudice and use
mtx_owned(&Giant) instead where appropriate.
- Proc locking.
- P_FOO -> PS_FOO.
- Don't grab Giant just to look in curproc's p_addr during a trap since we
may choose to immediately exit. Instead, delay grabbing Giant a bit
until we actually need it.
- Don't reset 'p' to 'curproc' in syscall() to handle the case of a child
returning from fork1() since children don't return via syscall().
- Remove an XXX comment in ast() that questions the correctness of the
userland check. The code is correct.
Diffstat (limited to 'lib/libc/stdlib/heapsort.c')
0 files changed, 0 insertions, 0 deletions