From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f175.google.com (mail-ie0-f175.google.com [209.85.223.175]) by kanga.kvack.org (Postfix) with ESMTP id 24FD26B00B6 for ; Mon, 9 Jun 2014 18:13:42 -0400 (EDT) Received: by mail-ie0-f175.google.com with SMTP id tp5so4742873ieb.20 for ; Mon, 09 Jun 2014 15:13:42 -0700 (PDT) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [2607:f8b0:4001:c05::231]) by mx.google.com with ESMTPS id t8si39900770igs.11.2014.06.09.15.13.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Jun 2014 15:13:41 -0700 (PDT) Received: by mail-ig0-f177.google.com with SMTP id l13so4422552iga.16 for ; Mon, 09 Jun 2014 15:13:41 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140609150353.75eff02b@redhat.com> References: <20140608181436.17de69ac@redhat.com> <20140609150353.75eff02b@redhat.com> Date: Mon, 9 Jun 2014 15:13:41 -0700 Message-ID: Subject: Re: [PATCH] x86: numa: drop ZONE_ALIGN From: Yinghai Lu Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Luiz Capitulino , Christoph Lameter , Tejun Heo Cc: Andrew Morton , Andi Kleen , Rik van Riel , Yasuaki Ishimatsu , Linux MM , Linux Kernel Mailing List , "stable@vger.kernel.org" On Mon, Jun 9, 2014 at 12:03 PM, Luiz Capitulino wrote: > On Sun, 8 Jun 2014 18:29:11 -0700 > Yinghai Lu wrote: > >> On Sun, Jun 8, 2014 at 3:14 PM, Luiz Capitulino wrote: > [ 0.000000] e820: BIOS-provided physical RAM map: > [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable > [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved > [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved > [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffeffff] usable > [ 0.000000] BIOS-e820: [mem 0x000000003fff0000-0x000000003fffefff] ACPI data > [ 0.000000] BIOS-e820: [mem 0x000000003ffff000-0x000000003fffffff] ACPI NVS > [ 0.000000] BIOS-e820: [mem 0x0000000040200000-0x00000000801fffff] usable ... > [ 0.000000] SRAT: PXM 0 -> APIC 0x00 -> Node 0 > [ 0.000000] SRAT: PXM 0 -> APIC 0x01 -> Node 0 > [ 0.000000] SRAT: PXM 1 -> APIC 0x02 -> Node 1 > [ 0.000000] SRAT: PXM 1 -> APIC 0x03 -> Node 1 > [ 0.000000] SRAT: Node 0 PXM 0 [mem 0x00000000-0x3fffffff] > [ 0.000000] SRAT: Node 1 PXM 1 [mem 0x40200000-0x801fffff] > [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x3fffffff] > [ 0.000000] NODE_DATA [mem 0x3ffec000-0x3ffeffff] > [ 0.000000] Initmem setup node 1 [mem 0x40800000-0x801fffff] > [ 0.000000] NODE_DATA [mem 0x801fb000-0x801fefff] so node1 start is aligned to 8M from 2M node0: [0, 1G) node1: [1G+2M, 2G+2M) The zone should not cross the 8M boundary? In the case should we trim the memblock for numa to be 8M alignment ? Thanks Yinghai -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org