Well, i believe, fork'ed processes should not share any memory between each other. Linux 2.6 behaviour looks correct.Most modern OSes, including Linux, use a copy-on-write scheme: the two processes initially share each page of memory, but the first attempt to write to such a page is detected by the MMU (memory management unit) hardware, and the page is invisibly copied. This is why fork is so fast.
Dave.
In reply to Re^2: fork on linux 2.6 does not share memory
by dave_the_m
in thread fork on linux 2.6 does not share memory
by tinita
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |