Subject: Re: mmap'ing framebuffer memory in MI drivers...
To: None <>
From: Chris G. Demetriou <>
List: tech-kern
Date: 03/21/1999 19:16:46 writes:
> >On Sat, 06 Mar 1999 09:34:28 -0800 
> > Jason Thorpe <> wrote:
> >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?
> yes, clearly i forgot to put the code in.  :)    whoops!
> the thing to do is add enough args to udv_attach() so that it can do the
> check.

i just coded up a quick change to do this, and will send it to you
(and jason and a couple of others) for review as soon as i'm convinced
it does the right thing.  (laptop won't boot new kernel for
seemingly-unrelated reasons... 8-)

Chris Demetriou - -
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.