Hi, excluding the extra kernel calls of open()/close() on /dev/zero,
which one of the following would be more efficient: 

1) Using mmap on /dev/zero
2) Using mmap with MAP_ANON flag

The purpose is, ofcourse, to share the memory (R&W) among all child
processes.

It seems that mmap on /dev/zero is more portable.

Thanks



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

Reply via email to