--=_courier-7480-1057165878-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sorry , the body of this mail was not good
please , see the .txt file
thanks
--=_courier-7480-1057165878-0001-2
Content-Type: text/plain; name="process_migration.txt"; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="process_migration.txt"
the idea to transfer a simples task is:
Thread1 in NODE A <-------TCP CONN-----------> Thread2 in NODE B
__________________ __________________
- select task by pid -verify the availability of these =
virtual addresses.
if it busy , free the memory of these virtual addresses.
- get structs mm , vma , task , zone , page =20
and copy all buffers existing in the =09
memory. -alloc all the buffer of task.
=09
=09
- send all buffers to thread2 -re-build structs =
(alloc_task_struct,page_zone,pte_page...)
=20
-INIT_LIST_HEAD()
=20
-wake_up_process()
-send all virtual addresses to thread2
Breno
--=_courier-7480-1057165878-0001-2--