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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/4/20 yihect <yihect@xxxxxxx>:
> 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-p column.

are you using fork()?

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux