diff options
author | jhb <jhb@FreeBSD.org> | 2001-05-23 22:35:45 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-05-23 22:35:45 +0000 |
commit | b6e2dc11117c0ef694b26994794bef40ddd4d0a4 (patch) | |
tree | 8236152405954712a598cff9fe926297c1c89d81 /sys/vm/vm_map.c | |
parent | 38c4b5afb439828bccef434bc84659949606c81c (diff) | |
download | FreeBSD-src-b6e2dc11117c0ef694b26994794bef40ddd4d0a4.zip FreeBSD-src-b6e2dc11117c0ef694b26994794bef40ddd4d0a4.tar.gz |
- Lock the VM around the pmap_swapin_proc() call in faultin().
- Don't lock Giant in the scheduler() function except for when calling
faultin().
- In swapout_procs(), lock the VM before the proccess to avoid a lock order
violation.
- In swapout_procs(), release the allproc lock before calling swapout().
We restart the process scan after swapping out a process.
- In swapout_procs(), un #if 0 the code to bump the vmspace reference count
and lock the process' vm structures. This bug was introduced by me and
could result in the vmspace being free'd out from under a running
process.
- Fix an old bug where the vmspace reference count was not free'd if we
failed the swap_idle_threshold2 test.
Diffstat (limited to 'sys/vm/vm_map.c')
0 files changed, 0 insertions, 0 deletions