Subject: Some VAX pmap observations
To: None <>
From: Jason R Thorpe <>
List: port-vax
Date: 04/29/2002 08:41:03
The work the VAX pmap does in cpu_swapout() and cpu_swapin() seems
totally unnecessary:

	* Before a process is swapped out, pmap_collect() is called to
	  release any resources for that process.  cpu_swapout() doesn't
	  really need to do it; the work should be in pmap_collect().

	* cpu_swapin() shouldn't need to validate all of the PTEs for
	  the U-area, since the upper levels in the VM system explicitly
	  wire the space, so pmap_enter() will be called to do the job.
	  The only think you really need to do there is to set the redzone

Am I missing something?

        -- Jason R. Thorpe <>