Re: about send task[txt]

Breno (brenosp@brasilsec.com.br)
Wed, 2 Jul 2003 14:09:10 -0300


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_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--