Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
mrg
Tue Mar 4 05:21:18 PST 1997
Update of /cvsroot/src/sys/vm
In directory netbsd1:/var/slash-tmp/cvs-serv11912
Modified Files:
Tag: mrg-vm-swap
vm_swap.c
Log Message:
a number of changes:
- remove register.
- add some more debugging.
- some KNF.
- move swap_{ptov,vtop}_addr() up a bit closer to where they are actually used.
- don't add the new swap priority to the priority list until we have actually
successfully begun swapping on this device.
- if we malloc something, and then fail something else (malloc, or otherwise),
free what we have malloc()ed.
- disable code allowing root&swap on same device, until it is fully completed.
assign the vp in the swapdev struct before calling swap_on(), as swap_on()
wants to use it. i have absolutely _NO_ idea what was happening before, and
this is probably the cause of much lossage. however, things still lose for
some reason, elsewhere.
Home |
Main Index |
Thread Index |
Old Index