Re: How to share physical pages in multi-process???

2009-04-22 Thread Jeffrey Cao
On Tue, Apr 21, 2009 at 07:49:37PM +0800, yihect wrote: > >> Hi, all: > >> I allocated some physical pages using __get_free_pages() api and > >> mapped them into user-space with mmap() in my driver, > >> but It seems not be shared in multi process. > >> > >> Following is content of /proc/157

Re: How to share physical pages in multi-process???

2009-04-20 Thread Jeffrey Cao
On 2009-04-20, yihect wrote: > Hi, all: > I allocated some physical pages using __get_free_pages() api and mapped > them into user-space with mmap() in my driver, > but It seems not be shared in multi process. > > Following is content of /proc/157/maps file. The vma range of > 40244000-404

Re: How to share physical pages in multi-process???

2009-04-20 Thread Mulyadi Santosa
2009/4/20 yihect : > Hi, all: >     I allocated some physical pages using __get_free_pages() api and mapped > them into user-space with mmap() in my driver, > but It seems not be shared in multi process. > > Following is content of /proc/157/maps file. The vma range of > 40244000-40444000 mapped to

How to share physical pages in multi-process???

2009-04-19 Thread yihect
Hi, all: I allocated some physical pages using __get_free_pages() api and mapped them into user-space with mmap() in my driver, but It seems not be shared in multi process. Following is content of /proc/157/maps file. The vma range of 40244000-40444000 mapped to /dev/mux_dev, notice the rw