Re: Suspend to Disk - Intel Architecture

Pavel Machek (pavel@bug.ucw.cz)
Mon, 29 Mar 1999 23:39:11 +0200


Hi!

> > > For purposes of both learning more about the Intel architecture and
> > > the Linux kernel, and doing something useful for my Toshiba 410CDT
> > > laptop, I am attempting to write some simple(I hope) suspend to disk
> > > code for Linux. I remember seeing a similar thread discussed a while
> > > ago, but I plan on using a different method. I am taking the approach
> > > of dumping an entire snapshot of memory to a partition, and then when
> > > I get that working, a file.
> >
> > This is what snapshot does, with exceptions:
> >
> > it dumps to swap partition
> >
> > it does not dump unused memory.
>
> How does it handle the cases where there is more used memory than space in
> the swap partition? And where can I get this program?

Tough. Should never happen :-). Look at http://falcon.sch.bme.hu/~seasons.

> Also, talking with a friend a few days ago, he mentioned a feature of
> another unixoid os that allowed to take a snapshot of just one program
> (and dump it to a file). This would be quite useful for a number of
> things.. Is there anything similar in linux?

Probably there are some checkpointing patches for linux, too, but I do
not know about them.

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

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