From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262848AbVCDMGX (ORCPT ); Fri, 4 Mar 2005 07:06:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262838AbVCDLyp (ORCPT ); Fri, 4 Mar 2005 06:54:45 -0500 Received: from fire.osdl.org ([65.172.181.4]:5340 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262903AbVCDLae (ORCPT ); Fri, 4 Mar 2005 06:30:34 -0500 Date: Fri, 4 Mar 2005 03:29:52 -0800 From: Andrew Morton To: Pavel Machek Cc: rjw@sisk.pl, linux-kernel@vger.kernel.org, hugang@soulinfo.com Subject: Re: swsusp: use non-contiguous memory on resume Message-Id: <20050304032952.4b2e456b.akpm@osdl.org> In-Reply-To: <20050304110154.GK1345@elf.ucw.cz> References: <20050304095934.GA1731@elf.ucw.cz> <20050304021347.1b3e0122.akpm@osdl.org> <20050304102121.GG1345@elf.ucw.cz> <20050304025119.4b3f8aa6.akpm@osdl.org> <20050304110154.GK1345@elf.ucw.cz> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Pavel Machek wrote: > > Hi! > > > > Problem is that pagedir is allocated as order-8 allocation on resume > > > in -mmX (and linus). Unfortunately, order-8 allocation sometimes > > > fails, and for some people (Rafael, seife :-) it fails way too often. > > > > > > Solution is to change format of pagedir from table to linklist, > > > avoiding high-order alocation. Unfortunately that means changes to > > > assembly, too, as assembly walks the pagedir. > > > > Ah. > > > > > (Or maybe Rafael is willing to create -mm version and submit it > > > himself?) > > > > No, against -linus, please. But the chunk in kernel/power/swsusp.c looks > > like it came from a diff between -mm and -linus. Or something. > > Yes, I did diff between -mm and -pavel, sorry. > > But I can't easily generate diff against -linus because that one is > dependend on fixing order-8 allocations during suspend. So I guess > I'll just wait until that one propagates into -linus? > Pavel Just generate a patch series?