http://surekang.wordpress.com/2006/02/22/why-not-uclinux-can-not-use-fork/

Posted in uClinux by surekang on the February 22, 2006

Wirte-On-Copy is used in fork system call of linux, Thus the process is created more efficiently by fork(). In the fork, the memory required by task struct is just allocated some page and physical memory is not allocated at this time. When memory of new process is need to write , the memory fault is encountered.The map between the page and physical memory is setup. We can call this kind of implementation Write-On-Copy . But in NON-MMU system, for uClinux, such design can not implemented at all since we have no page , no page framework and other required things……So we have to use vfork to replace the fork in uClinux


Reply via email to