From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755213AbYFYV5g (ORCPT ); Wed, 25 Jun 2008 17:57:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752736AbYFYV52 (ORCPT ); Wed, 25 Jun 2008 17:57:28 -0400 Received: from rv-out-0506.google.com ([209.85.198.226]:46495 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750976AbYFYV51 (ORCPT ); Wed, 25 Jun 2008 17:57:27 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=YWUSFSc9rjOi9CO1EgdooLIW+s6gAtVm4l0k6NYYE4dZ48pXwv7OikKwSYLCAL3Pg1 eWbD6MBQxrPandVGvaXiBgnnNZ50RwmMj+iTSHZDgrYFpMjM+Jd0/H+NexriyGDQK/qA 9DHn8W1UgMPuGKmYJDkQYdVPlMrGElwryIjQE= Message-ID: <86802c440806251457y134de928rb496da66becbe5cd@mail.gmail.com> Date: Wed, 25 Jun 2008 14:57:27 -0700 From: "Yinghai Lu" To: "Jeremy Fitzhardinge" Subject: Re: [PATCH] x86: remove end_pfn in 64bit Cc: "Ingo Molnar" , "Thomas Gleixner" , "H. Peter Anvin" , "linux-kernel@vger.kernel.org" In-Reply-To: <4862B915.3010001@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200806242213.15310.yhlu.kernel@gmail.com> <200806242214.09503.yhlu.kernel@gmail.com> <20080625154138.GC18796@elte.hu> <4862B915.3010001@goop.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 25, 2008 at 2:31 PM, Jeremy Fitzhardinge wrote: > Ingo Molnar wrote: >> >> * Yinghai Lu wrote: >> >> >>> >>> and use max_pfn directly. >>> >>> Signed-off-by: Yinghai Lu >>> >> >> applied to tip/x86/setup-memory - thanks Yinghai. I have picked up these >> patches: >> >> Ingo Molnar (1): >> Merge branch 'x86/setup-memory' >> >> Yinghai Lu (6): >> x86: fix e820_update_range size when overlapping >> x86: get max_pfn_mapped in init_memory_mapping >> x86: add table_top check for alloc_low_page in 64 bit >> x86: change size if e820_update/remove_range >> x86: numa 32 using apicid_2_node to get node for logical_apicid >> x86: remove end_pfn in 64bit >> > > Did you CC: this to me to indicate that "x86_64: replace end_pfn with > num_physpages" conflicts massively with this patch? Fortunately I don't > depend on it, so I don't mind much. > > How does "max_pfn" differ from "num_physpages"? Should one of them go as > well? 64bit setup_arch assign num_physpages with end_pfn... and max_pfn is defined in linux/bootmem.h num_physpages is defined in linux/mm.h YH