A representative process, that is, a process without any user stack, register values, PC, etc, with
"pid" is
maintained at the master node.
Now, the process which was migrated to a remote node, in this example Computer 2, and having process id "pid", decides to fork(). It is a system call and is forwarded in the same way to master process. This request is forwarded to the representative process with process id "pid". The representative process forks() leading to a new representative process with process id "cpid". This "cpid" is forwarded to master process which forwards it to slave process. The slave process forwards "cpid" to the remote process with process id "pid". The remote process with process id "pid" now forks a child and attaches "cpid" to its child.
This is overview of what I want to achieve. A small correction in my last mail.
.....Continued.... That is, if kernel at Computer 2 finds that pid of a process requesting a system call is 1500, the request is forwarded to slave daemon which in turn contacts with the master daemon. Master daemon forwards this information to corresponding representative process which requests the kernel for the system call and sends the result back to slave daemon.