Subject: quick uvm question - getting a process's page.
To: None <tech-kern@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 05/03/2000 17:12:04
Folks,

Is there an existing interface in uvm where I can say:

	gimme the page (or location of a page) at a particular VA for a
	given process?

This is in relation the ps argv stuff I've been looking at.  The current
libkvm strategy is to walk the page tables for the process, work out
if it's in kmem or on swap, and grab the data.  From a "process is
completed swapped out" POV, would it be better to keep with a similar
strategy to this (perhaps using something like uvm_swap_get() to fetch
data from swap) or just page in the pages that are needed?

Simon.