From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758721AbYDPATU (ORCPT ); Tue, 15 Apr 2008 20:19:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753957AbYDPATJ (ORCPT ); Tue, 15 Apr 2008 20:19:09 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:54736 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753404AbYDPATI (ORCPT ); Tue, 15 Apr 2008 20:19:08 -0400 Date: Tue, 15 Apr 2008 17:19:07 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Ingo Molnar cc: Linus Torvalds , Pekka Enberg , linux-kernel@vger.kernel.org, Mel Gorman , Nick Piggin , Andrew Morton , "Rafael J. Wysocki" , Yinghai.Lu@sun.com, apw@shadowen.org, KAMEZAWA Hiroyuki Subject: Re: [patch] mm: sparsemem memory_present() memory corruption fix In-Reply-To: <20080416000356.GA24737@elte.hu> Message-ID: References: <20080415161532.GA15088@elte.hu> <20080415195430.GA23015@elte.hu> <20080415201734.GA25628@elte.hu> <4805115D.5030703@cs.helsinki.fi> <20080415204025.GA29784@elte.hu> <20080416000356.GA24737@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 16 Apr 2008, Ingo Molnar wrote: > if a !PAE x86 kernel is booted on a 32-bit system with more than > 4GB of RAM, then we call memory_present() with a start/end that > goes outside the scope of MAX_PHYSMEM_BITS. Well okay this fixes it but is this the right fix? The arch should not call memory_present() with an invalid pfn.