about send task

From: Breno (brenosp@brasilsec.com.br)
Date: Wed Jul 02 2003 - 12:03:38 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:16 EST