diff options
author | jhb <jhb@FreeBSD.org> | 2001-05-23 22:42:10 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-05-23 22:42:10 +0000 |
commit | 7959aca6f7927fb68c5325dea9b886220f5c7842 (patch) | |
tree | d4041f2877d4bcc6ceb98c91aee35f6715133c5c /lib/libc/string/strlcpy.c | |
parent | cf87d9f5db06c7a86679dd790c063cf28884f036 (diff) | |
download | FreeBSD-src-7959aca6f7927fb68c5325dea9b886220f5c7842.zip FreeBSD-src-7959aca6f7927fb68c5325dea9b886220f5c7842.tar.gz |
- Assert that the vm lock is held for all of _vm_object_allocate().
- Restore the previous order of setting up a new vm_object. The previous
had a small bug where we zero'd out the flags after we set the
OBJ_ONEMAPPING flag.
- Add several asserts of vm_mtx.
- Assert Giant is held rather than locking and unlocking it in a few
places.
- Add in some #ifdef objlocks code to lock individual vm objects when
vm objects each have their own lock someday.
- Don't bother acquiring the allproc lock for a ddb command. If DDB
blocked on the lock, that would be worse than having an inconsistent
allproc list.
Diffstat (limited to 'lib/libc/string/strlcpy.c')
0 files changed, 0 insertions, 0 deletions