joy ganguly wrote:

>Hi all,
>
>Hi,
>
>I want to use mmap as a means of doing IPC between
>unrelated processes. I do *not* want the data to hit
>the disk. So this is what I do :-
>
>fd = open(file, O_RDWR);
>p = mmap(fd, MAP_NOSYNC | MAP_SHARED);
>mlock(p, len);
>
>/* Whack around with shmem */
>
>
>Now my question is , once I have wired the shared
>memory region, is it possible that the data still hits
>the disk ? One would think the pager will not look at
>wired pages. Is that correct ?
>

Is there some reason not to use SYSV shared memory???

Andy



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to