Hi people , i am thinking about process migration.
And the idea to transfer a simples task is:
Thread1 in NODE A <-------TCP CONN-----------> Thread2 in NODE B
__________________
__________________
- select task by
-verify the availability of these virtual addresses.
if it busy , free the memory of these virtual addresses.
- get structs mm , vma , task , zone , page
and copy all buffers existing in the
-alloc all the buffer of task.
- send all buffers to
-re-build structs (alloc_task_struct,page_zone,pte_page...)
-INIT_LIST_HEAD()
-wake_up_process()
-send all virtual addresses to thread2
Please , i?d like some comments/ideas about this.
thanks
Breno
On Wed, 02 Jul 2003 14:03:38 -0300, Breno <[email protected]> said:
> if it busy , free the memory of these virtual addresses.
> - get structs mm , vma , task , zone , page
> and copy all buffers existing in the
> Please , i?d like some comments/ideas about this.
1) You forgot little details like "current working directory", "open files",
"file locks", "open TCP connections" and all the other process-state issues.
These turn out to be the real problems in migration.
2) http://www.mosix.org - it's not as easy as it looks.