Hi Gleb,
Gleb Natapov wrote:
> new madvice flag was implemented that allows userspace to mark certain
> memory to not be copied to a child process. This memory is not mapped in
> a child at all, no even VMA created for it. In the parent this memory is
Ah, that explain your previous mention of segfault. For static
registrations, the ones that are the real problem with fork because of
the infinite exposure, it's much simpler to use MAP_SHARED...
Patrick
--
Patrick Geoffray
Myricom, Inc.
http://www.myri.com
|