Re: memory management with mmap

2012-10-31 Thread Chetan Nanda
On Oct 28, 2012 11:49 AM, "Sengottuvelan S" wrote: > > > Hi Mulyadi > > I am able to do mmap and access virual-memory address and pages for a single process from user-space and working fine. I am not sure how to do it for multiple processes for shared resources using mmap. I better explain in det

Re: memory management with mmap

2012-10-27 Thread Sengottuvelan S
Hi Mulyadi I am able to do mmap and access virual-memory address and pages for a single process from user-space and working fine. I am not sure how to do it for multiple processes for shared resources using mmap. I better explain in detail here what I am experimenting it. for example: Kernel al

Re: memory management with mmap

2012-10-27 Thread Mulyadi Santosa
Hi... On Thu, Oct 18, 2012 at 3:02 AM, Sengottuvelan S wrote: > For example, > > I have 2 different user space process A,B etc. I have to allocate memory in > Kernel for each of those processes (for example 2 pages) . Each process is > allowed to use only 1 page using mmap from user space. > > I

memory management with mmap

2012-10-17 Thread Sengottuvelan S
Hi All I am trying to experiment a memory management - allocate memory segments in Kernel space (junk of memory segments using page allocation) so that different user process can use/access it(read/write) using mmap. For example, I have 2 different user space process A,B etc. I have to allocate