Re: Process Migration on Linux - Impossible?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 30 Sep 1997 20:04:26 +0100 (BST)


> That's right, but I want to migrate any process, and have their syscalls
> redirected if they can't be resolved on the target machine (getpid like
> syscalls, and those on memory allocation, for example).

This is how MOSIX works. Unfortunately the MOSIX authors have continually
reimplemented it as a proprietary research item that has thus never caught
on. Basically a syscall goes back to its "owning object" - eg a file
syscall looks like

if(file->owner_computer==our_computer)
file->operation(blah)
else
rpc_it()

Data and message passing statistics dictate when a process is moved.