Re: [RFC][PATCH] swsusp: support creating bigger images

From: Nigel Cunningham
Date: Tue Apr 25 2006 - 18:32:11 EST


HI.

On Wednesday 26 April 2006 08:25, Pavel Machek wrote:
> Hi!
>
> > > It does apply to all of the LRU pages. This is what I've been doing for
> > > years now. The only corner case I've come across is XFS. It still wants
> > > to write data even when there's nothing to do and it's threads are
> > > frozen (IIRC - haven't looked at it for a while). I got around that by
> > > freezing bdevs when freezing processes.
> >
> > This means if we freeze bdevs, we'll be able to save all of the LRU
> > pages, except for the pages mapped by the current task, without copying.
> > I think we can try to do this, but we'll need a patch to freeze bdevs for
> > this purpose. ;-)
>
> ...adding more dependencies to how vm/blockdevs work. I'd say current
> code is complex enough...

You assume too much. This is just using existing code.

Regards,

Nigel

--
See our web page for Howtos, FAQs, the Wiki and mailing list info.
http://www.suspend2.net IRC: #suspend2 on Freenode

Attachment: pgp00000.pgp
Description: PGP signature