Subject: Re: Fault type values for uvm_fault()
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-kern
Date: 03/02/2006 11:05:40
On Wed, Feb 22, 2006 at 04:50:05PM -0800, Jason Thorpe wrote:
> 
> On Feb 22, 2006, at 2:11 PM, Matthias Drochner wrote:
> 
> >
> >Module Name:	src
> >Committed By:	drochner
> >Date:		Wed Feb 22 22:11:44 UTC 2006
> >
> >Modified Files:
> >	src/sys/arch/alpha/alpha: trap.c
> >
> >Log Message:
> >don't bother to figure out whether a page was not mapped at all or  
> >mapped
> >with too little permission (physically) on a fault -- uvm knows better
> 
> If we're not going to bother to pass the correct fault type values to  
> uvm_fault(), then we should simply eliminate that argument to  
> uvm_fault() altogether.

What about other architectures? Doesn't any of them pass a valid argument?

	-is