Subject: Re: quick uvm question - getting a process's page.
To: Simon Burge <simonb@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-kern
Date: 05/03/2000 10:09:50
On Wed, 3 May 2000, Simon Burge wrote:
> 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?
Do ps and friends currently cause pages to be pulled in for other
processes? This would seem to be suboptimal for a machine under
heavy paging load...
David/absolute
-- www.netbsd.org: No hype required --