linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Justin Pryzby <justinpryzby@users.sourceforge.net>
To: sank saraph <sank_kernel@computermail.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: help project
Date: Thu, 15 Jan 2004 15:55:42 -0500	[thread overview]
Message-ID: <20040115205542.GA5149@andromeda> (raw)
In-Reply-To: <20040113144551.00C2D7263@sitemail.everyone.net>

I have a similar interest: I want to be able to take a process, save its
state to a file, reboot, and reload the process.  Possibly on a
different machine.  I hope you realize that there are _lots_ of points
of failure, things like file deletion.  You should look at the mosix
clustering project; they save the userspace state of a process, and
transfer that across the network, and have system calls run on the
remote host, which has all the arch-specific stuff.  A process ("task")
is defined by a task_struct, in include/linux/sched.h., but that
definition is not at all self-contained.  See
[http://www.clarkson.edu/~pryzbyj/task/struct-task_struct.html] for some
work I did to convince myself of this.  (I've given up on that
document).  In short, there's no good way of doing this .. mosix saves
the user context easily enough, but, sadly, saving the kernel stuff is,
at best, extremely tedious.  Let me know if you come up with anything
else.

Justin
On Tue, Jan 13, 2004 at 06:45:51AM -0800, sank saraph wrote:
> Hello all,
>                   I am currently working on the project ???Process Migration???
> I want to save all the context, memory address space. So that it is
> transferred to remote node & resume that process.
>                 So how can I save the context of process? 
> Thanks in advanced ???.  
> -
> 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/
> 

  reply	other threads:[~2004-01-15 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-13 14:45 help project sank saraph
2004-01-15 20:55 ` Justin Pryzby [this message]
2004-01-15 21:59   ` Richard B. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040115205542.GA5149@andromeda \
    --to=justinpryzby@users.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sank_kernel@computermail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).