lkml.org 
[lkml]   [2005]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: swsusp: allow resume from initramfs
From
Date
Hi.

On Sat, 2005-03-05 at 08:43, Pavel Machek wrote:
> > You guys are reinventing the wheel a lot at the moment and I'm in the
> > middle of doing it for x86_64 lowlevel code :> Can we see if we can work
> > a little more closely - perhaps we can get some shared code going that
> > will allow us to handle these issues without stepping on each others'
> > feet? In particular, shared code for
> >
> > - initramfs and initrd support
>
> Its actually done, and it was few strategically placed lines of code
> (like 20 lines). I do not think it can be meaningfully shared.

Mmm. But if we're both putting hooks in the same places...

> > - lowlevel suspend & resume
>
> This makes very good sense to share. We have i386, x86-64 and ppc
> versions. They simply walk list of pbe's; that should be simple enough
> to be usable for suspend2, too....

The CPU save and restore, yes. But I use a different format for
recording the image metadata (I use bitmaps to record the locations of
pages). Perhaps I should hasten to mention the bitmaps are discontiguous
- single pages connected by a kmalloc'd list. The copyback itself will
need to stay distinct.

Regards,

Nigel
--
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com
Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028; Mob: +61 (417) 100 574

Maintainer of Suspend2 Kernel Patches http://softwaresuspend.berlios.de


-
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/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.050 / U:1.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site