I am trying to create a distributed pid space.
0 to 2000 Computer 1
2001 to 4000 Computer 2
4001 to 6000 Computer 3
and so on...
I am running a master user-level process at Computer 1 which sends a process context like code, data, registers, PC, etc as well as "pid" to slave processes running at other computers. The responsibility of the slave process is to fork a new process on order of master process and attach "pid" given by the master to the new process it has forked. Any system call on slave nodes will have an initial check of " Whether the process belongs to local node or to the master node?". That is, if kernel at Computer 2 pid of the process is 1500