Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753393AbaKJQLL (ORCPT ); Mon, 10 Nov 2014 11:11:11 -0500 Received: from mail.skyhub.de ([78.46.96.112]:39972 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752856AbaKJQLI (ORCPT ); Mon, 10 Nov 2014 11:11:08 -0500 Date: Mon, 10 Nov 2014 17:11:05 +0100 From: Borislav Petkov To: Daniel J Blueman Cc: Thomas Gleixner , Ingo Molnar , Yinghai Lu , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Steffen Persvold , "H. Peter Anvin" , Bjorn Helgaas Subject: Re: [PATCH] x86: Drop redundant memory-block sizing code Message-ID: <20141110161105.GF4359@pd.tnic> References: <1415249414-20888-1-git-send-email-daniel@numascale.com> <20141106094007.GA4849@pd.tnic> <545B4E84.7050707@numascale.com> <20141106104034.GB4849@pd.tnic> <545B5735.8000401@numascale.com> <20141106115636.GA4318@pd.tnic> <54607F54.2050707@numascale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <54607F54.2050707@numascale.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 10, 2014 at 05:03:16PM +0800, Daniel J Blueman wrote: > Yes, totalram_pages doesn't count the MMIO hole, whereas max_pfn does. > > I've made NumaConnect firmware changes that will guarantee max_pfn is always > aligned to at least 2GB, so bdee237c0343a5d1a6cf72c7ea68e88338b26e08 "x86: > mm: Use 2GB memory block size on large-memory x86-64 systems" can be dropped > and Yinghai's approach will give 2GB memory blocks on our systems. What about the rest of the systems? I.e., the !numascale ones. This is generic code which needs to support all, not only your flavour. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/