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 ?

Thanks in advance.

Joy



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to