* about send task
@ 2003-07-02 17:03 Breno
2003-07-02 17:09 ` about send task[txt] Breno
2003-07-02 17:19 ` about send task Valdis.Kletnieks
0 siblings, 2 replies; 3+ messages in thread
From: Breno @ 2003-07-02 17:03 UTC (permalink / raw)
To: Kernel List
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: about send task[txt]
2003-07-02 17:03 about send task Breno
@ 2003-07-02 17:09 ` Breno
2003-07-02 17:19 ` about send task Valdis.Kletnieks
1 sibling, 0 replies; 3+ messages in thread
From: Breno @ 2003-07-02 17:09 UTC (permalink / raw)
To: Kernel List
[-- Attachment #1: Type: text/plain, Size: 80 bytes --]
Sorry , the body of this mail was not good
please , see the .txt file
thanks
[-- Attachment #2: process_migration.txt --]
[-- Type: text/plain, Size: 745 bytes --]
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
and copy all buffers existing in the
memory. -alloc all the buffer of task.
- send all buffers to thread2 -re-build structs (alloc_task_struct,page_zone,pte_page...)
-INIT_LIST_HEAD()
-wake_up_process()
-send all virtual addresses to thread2
Breno
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: about send task
2003-07-02 17:03 about send task Breno
2003-07-02 17:09 ` about send task[txt] Breno
@ 2003-07-02 17:19 ` Valdis.Kletnieks
1 sibling, 0 replies; 3+ messages in thread
From: Valdis.Kletnieks @ 2003-07-02 17:19 UTC (permalink / raw)
To: Breno; +Cc: Kernel List
[-- Attachment #1: Type: text/plain, Size: 555 bytes --]
On Wed, 02 Jul 2003 14:03:38 -0300, Breno <brenosp@brasilsec.com.br> 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.
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-02 17:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-02 17:03 about send task Breno
2003-07-02 17:09 ` about send task[txt] Breno
2003-07-02 17:19 ` about send task Valdis.Kletnieks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®