Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161000AbWHILxx (ORCPT ); Wed, 9 Aug 2006 07:53:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161001AbWHILxx (ORCPT ); Wed, 9 Aug 2006 07:53:53 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:12268 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S1161000AbWHILxw (ORCPT ); Wed, 9 Aug 2006 07:53:52 -0400 Date: Wed, 9 Aug 2006 13:53:35 +0200 From: Pavel Machek To: "Rafael J. Wysocki" Cc: LKML , Linux PM Subject: Re: [RFC][PATCH -mm 1/5] swsusp: Introduce memory bitmaps Message-ID: <20060809115335.GA3747@elf.ucw.cz> References: <200608091152.49094.rjw@sisk.pl> <200608091257.16663.rjw@sisk.pl> <20060809112701.GO3308@elf.ucw.cz> <200608091336.17137.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608091336.17137.rjw@sisk.pl> 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 Content-Length: 1173 Lines: 27 On Wed 2006-08-09 13:36:16, Rafael J. Wysocki wrote: > Hi, > > On Wednesday 09 August 2006 13:27, Pavel Machek wrote: > > > > > Introduce the memory bitmap data structure and make swsusp use in the suspend > > > > > phase. > > > > > > > > > > The current swsusp's internal data structure is not very efficient from the > > > > > memory usage point of view, so it seems reasonable to replace it with a data > > > > > structure that will require less memory, such as a pair of bitmaps. > > > > > > > > Well, 500 lines of code for what... 0.25% bigger image? > > BTW, that depends on the total size of RAM. On a 1.5 GB i386 box that would > be something like 100%. Well, well, but 99.75% of that is from 3/5 patch, and we could still get those 99.75% without bitmaps, right? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - 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/