Subject: Re: remplacing page mappings behind uvm
To: YAMAMOTO Takashi <firstname.lastname@example.org>
From: Antti Kantee <email@example.com>
Date: 11/30/2007 18:59:22
On Sat Dec 01 2007 at 01:45:05 +0900, YAMAMOTO Takashi wrote:
> > But this doesn't helps us, because it's mmapped before calling
> > IOCTL_PRIVCMD_MMAP*. AFAIK we have to return a valid page address at the
> > time a device mmap callback is called.
> are you talking about d_mmap calls in udv_attach?
> we can easily tweak the api.
Please tweak that api. It would be very nice to able to know in the
callee if this is a request to setup a mapping or to actually return
And while on the subject: is sleeping allowed in d_mmap?
Antti Kantee <firstname.lastname@example.org> Of course he runs NetBSD
"la qualité la plus indispensable du cuisinier est l'exactitude"