Re: Sharing the same VM address space between Kernel and UserSpace

2005-11-15 Thread Peter Jeremy
On Mon, 2005-Nov-14 13:39:19 -0700, John Giacomoni wrote: I am in need of a way to share memory between kernel space and possibly multiple different user-space processes for an extended period of time. This memory would need to be a single unpageable region. Does the region have to have the same

Re: Sharing the same VM address space between Kernel and UserSpace

2005-11-15 Thread Robert Watson
On Tue, 15 Nov 2005, Peter Jeremy wrote: Avoiding other mappings isn't that difficult, though it's not totally trivial. You need to avoid KVA, stack, text, heap, shared libraries, SysV SHM and other random mmap()'s. If this is a fairly custom application, you can get a fairly good idea of

Sharing the same VM address space between Kernel and UserSpace

2005-11-14 Thread John Giacomoni
I am in need of a way to share memory between kernel space and possibly multiple different user-space processes for an extended period of time. This memory would need to be a single unpageable region. I am using the vm routines as cribbed from mmap, however I'd like the address spaces to be

Re: Sharing the same VM address space between Kernel and UserSpace

2005-11-14 Thread Scott Long
John Giacomoni wrote: I am in need of a way to share memory between kernel space and possibly multiple different user-space processes for an extended period of time. This memory would need to be a single unpageable region. I am using the vm routines as cribbed from mmap, however I'd like the

Re: Sharing the same VM address space between Kernel and UserSpace

2005-11-14 Thread John Giacomoni
On Nov 14, 2005, at 1:57 PM, Scott Long wrote: John Giacomoni wrote: I am in need of a way to share memory between kernel space and possibly multiple different user-space processes for an extended period of time. This memory would need to be a single unpageable region. I am using the vm

Re: Sharing the same VM address space between Kernel and UserSpace

2005-11-14 Thread John-Mark Gurney
John Giacomoni wrote this message on Mon, Nov 14, 2005 at 13:39 -0700: I am in need of a way to share memory between kernel space and possibly multiple different user-space processes for an extended period of time. This memory would need to be a single unpageable region. I am using the vm

Re: Sharing the same VM address space between Kernel and UserSpace

2005-11-14 Thread Kamal R. Prasad
On 15-Nov-05, at 3:58 AM, John Giacomoni wrote: On Nov 14, 2005, at 1:57 PM, Scott Long wrote: John Giacomoni wrote: I am in need of a way to share memory between kernel space and possibly multiple different user-space processes for an extended period of time. This memory would need