From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751629AbWDYWhj (ORCPT ); Tue, 25 Apr 2006 18:37:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751628AbWDYWhj (ORCPT ); Tue, 25 Apr 2006 18:37:39 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:31912 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S1751483AbWDYWhi (ORCPT ); Tue, 25 Apr 2006 18:37:38 -0400 Date: Wed, 26 Apr 2006 00:36:58 +0200 From: Pavel Machek To: Nigel Cunningham Cc: "Rafael J. Wysocki" , Nick Piggin , Linux PM , LKML Subject: Re: [RFC][PATCH] swsusp: support creating bigger images Message-ID: <20060425223657.GH6379@elf.ucw.cz> References: <200604242355.08111.rjw@sisk.pl> <200604260021.08888.rjw@sisk.pl> <20060425222526.GG6379@elf.ucw.cz> <200604260830.57866.nigel@suspend2.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604260830.57866.nigel@suspend2.net> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On St 26-04-06 08:30:51, Nigel Cunningham wrote: > 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. Let's see the patch, then. Pavel -- Thanks for all the (sleeping) penguins.