From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 5 May 2002 21:49:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 5 May 2002 21:49:03 -0400 Received: from dsl-213-023-038-176.arcor-ip.net ([213.23.38.176]:10430 "EHLO starship") by vger.kernel.org with ESMTP id ; Sun, 5 May 2002 21:49:02 -0400 Content-Type: text/plain; charset=US-ASCII From: Daniel Phillips To: Andrea Arcangeli Subject: Re: Bug: Discontigmem virt_to_page() [Alpha,ARM,Mips64?] Date: Mon, 6 May 2002 03:48:30 +0200 X-Mailer: KMail [version 1.3.2] Cc: Russell King , "Martin J. Bligh" , linux-kernel@vger.kernel.org In-Reply-To: <20020502180632.I11414@dualathlon.random> <20020506034218.H6712@dualathlon.random> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Monday 06 May 2002 03:42, Andrea Arcangeli wrote: > On Mon, May 06, 2002 at 03:24:58AM +0200, Daniel Phillips wrote: > > What do you mean by 'implement a static view of them'? > > See the attached email. assuming chunks of 256M ram every 1G, 1G phys > goes at 3G+256M virt, 2G goes at 3G+512M etc... So, __va(0x40000000) = 0xc0000000, and __va(0x80000000) = 0, i.e., not a kernel address at all, because with config_discontigmem __va is a simple linear relation. What do you do about that? -- Daniel