Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754490AbaFKWyI (ORCPT ); Wed, 11 Jun 2014 18:54:08 -0400 Received: from mail-ig0-f169.google.com ([209.85.213.169]:53830 "EHLO mail-ig0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858AbaFKWyG (ORCPT ); Wed, 11 Jun 2014 18:54:06 -0400 Date: Wed, 11 Jun 2014 15:54:02 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Christoph Lameter cc: Luiz Capitulino , Yinghai Lu , Tejun Heo , Andrew Morton , Andi Kleen , Rik van Riel , Yasuaki Ishimatsu , Linux MM , Linux Kernel Mailing List , "stable@vger.kernel.org" Subject: Re: [PATCH] x86: numa: drop ZONE_ALIGN In-Reply-To: Message-ID: References: <20140608181436.17de69ac@redhat.com> <20140609150353.75eff02b@redhat.com> <20140611092337.35794bc0@redhat.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) 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, 11 Jun 2014, Christoph Lameter wrote: > > > The zone should not cross the 8M boundary? > > > > Yes, but the question is: why? > > zones need to be aligned so that the huge pages order and other page > orders allocated from the page allocator are at their "natural alignment". > Otherwise huge pages cannot be mapped properly and various I/O devices > may encounter issues if they rely on the natural alignment. > Any reason not to align to HUGETLB_PAGE_ORDER on x86 instead of ZONE_ALIGN? -- 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/