Subject: Re: lazy pmap switch
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Stephan Uphoff <ups@tree.com>
List: port-i386
Date: 02/10/2004 16:47:55
hi,

there is an additional problem with copyin/copyout/fusword ...
Since the functions can sleep because of a page fault it is not enough
to load the right pmap before copying from/to userspace.
Loading the pmap if pcb->pcb_onfault is not NULL after a
successful page fault (in trap()) should do the trick.

	Stephan