From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [RFC][PATCH] swsusp: support creating bigger images Date: Wed, 26 Apr 2006 00:25:27 +0200 Message-ID: <20060425222526.GG6379@elf.ucw.cz> References: <200604242355.08111.rjw@sisk.pl> <200604252312.26249.rjw@sisk.pl> <200604260718.42681.nigel@suspend2.net> <200604260021.08888.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============76792057157644411==" Return-path: In-Reply-To: <200604260021.08888.rjw@sisk.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: "Rafael J. Wysocki" Cc: Nigel Cunningham , Nick Piggin , LKML , Linux PM List-Id: linux-pm@vger.kernel.org --===============76792057157644411== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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... Pavel -- Thanks for all the (sleeping) penguins. --===============76792057157644411== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============76792057157644411==--