Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 03/04/1997 13:30:02
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.