Subject: Re: map user memory in kernel
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 11/07/2005 07:46:04
On Sun, Nov 06, 2005 at 11:52:48PM +0100, Jaromir Dolecek wrote:
> On Sun, Nov 06, 2005 at 01:52:16PM -0800, Chuck Silvers wrote:
> > On Sun, Nov 06, 2005 at 09:49:31PM +0100, Jaromir Dolecek wrote:
> > > > the logical page can be paged out and replaced with a different
> > > > physical page when it's paged backed in, so we cannot use the
> > > > vm_page pointer for this purpose.
> > > 
> > > Could we use vm_map_entry ?
> > 
> > how?  could you be more specific?
> 
> I mean, use address of appropriate vm_map_entry as the futex wait
> channel base. However, that is process-specific too, sorry for the
> noise :)
> 
> Okay, back to anon:

Does it have to be anon?
What about mmap() ?
Or even part of the code segment.

	David

-- 
David Laight: david@l8s.co.uk