Subject: Re: mmap'ing framebuffer memory in MI drivers...
To: None <eeh@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 03/06/1999 09:40:39
On Sat, 06 Mar 1999 09:34:28 -0800
Jason Thorpe <thorpej@nas.nasa.gov> wrote:
> BZZT :-)
>
> That's the FAULT handler you're looking at.
>
> Now, take a look udv_attach().
Gack.
I blame this on the fact that I haven't finished my first cup of coffee.
The Mach VM code definitely called d_mmap at mmap time, to check every
possibly page in the mapping, to ensure that the fault handler would never
fail.
UVM apparently doesn't do this. I personally would prefer that UVM did
the check at mmap time.
Chuck, is there a reason you didn't implement that?
-- Jason R. Thorpe <thorpej@nas.nasa.gov>