I will extract the removal of the vm map lock from swapout_procs() next.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 13920
Event Timeline
Comment Actions
Index: vm/vm_swapout.c =================================================================== --- vm/vm_swapout.c (revision 327347) +++ vm/vm_swapout.c (working copy) @@ -938,9 +938,10 @@ swapout(struct proc *p) P_INMEM, ("swapout: lost a swapout race?")); /* - * remember the process resident count + * Remember the resident count. */ p->p_vmspace->vm_swrss = vmspace_resident_count(p->p_vmspace); + /* * Check and mark all threads before we proceed. */
sys/vm/vm_swapout.c | ||
---|---|---|
790 | "... vmspace. However, ..." |