From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 30 Sep 2005 13:40:58 +0100 (BST) Received: from zproxy.gmail.com ([64.233.162.196]:5669 "EHLO zproxy.gmail.com") by ftp.linux-mips.org with ESMTP id S3465571AbVI3Mki convert rfc822-to-8bit (ORCPT ); Fri, 30 Sep 2005 13:40:38 +0100 Received: by zproxy.gmail.com with SMTP id j2so459209nzf for ; Fri, 30 Sep 2005 05:40:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V4DqR6OaY3zdWju5MZ8RdnIKEoMuN4DK32LkSrPDIadIcceFzpgexUEPltaDGjElQSrXbCtGxtMkY+SBc/cd811WgcBbv37NVXg0R8uUjX1O7hSszEil4DMAe5xNKnJuY1xlFQo1VhuExwpthod3RF3UmE/z0v7n4Ksm665vTtc= Received: by 10.36.42.2 with SMTP id p2mr6170222nzp; Fri, 30 Sep 2005 05:40:31 -0700 (PDT) Received: by 10.36.49.3 with HTTP; Fri, 30 Sep 2005 05:40:31 -0700 (PDT) Message-ID: Date: Fri, 30 Sep 2005 14:40:31 +0200 From: Franck Reply-To: Franck To: Ralf Baechle Subject: Re: DISCONTIGMEM suuport on 32 bits MIPS Cc: linux-mips@linux-mips.org In-Reply-To: <20050929235025.GC3983@linux-mips.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-Disposition: inline References: <20050926122114.GC3175@linux-mips.org> <20050929235025.GC3983@linux-mips.org> Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 9096 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: vagabon.xyz@gmail.com Precedence: bulk X-list: linux-mips 2005/9/30, Ralf Baechle : > On Mon, Sep 26, 2005 at 02:46:02PM +0200, Franck wrote: > > > > IP27 currently the only system that absolutely needs discontiguous > > > memory in order to work at all. A few other systems could make use of > > > discontiguous memory to reduce the waste of memory - the family of > > > Broadcom SB1 based systems comes to mind. > > > > Isn't discontiguous memory common for embedded system as well ? I > > thought so...Anyways can we make discontiguous memory thing move into > > generic MIPS code so every future needs for that will profit ? I > > looked at other arch, and they seem to implement it that way (in > > arch/xxx/mm/discontig.c). > > Yes, that would be a good thing. There are several platforms that could > make good use of discontiguous memory support such as Broadcom's Sibyte > SoCs with their insanely large hole in the memory map but also others. > Ok I'll try to do that soon (maybe in 1 or 2 weeks). I looked at the ARM's code and I should be able to do the same on MIPS. Should I keep IP27 data structure and code although ARM's ones seem to be easier to understand ? Thanks -- Franck