Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756002AbYCQHRl (ORCPT ); Mon, 17 Mar 2008 03:17:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754594AbYCQHRd (ORCPT ); Mon, 17 Mar 2008 03:17:33 -0400 Received: from rv-out-0910.google.com ([209.85.198.188]:34309 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752474AbYCQHRc (ORCPT ); Mon, 17 Mar 2008 03:17:32 -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=G9Mi8mrsGkkq31L2Ndg5ekzNdOUGhOy+V8WdvUIz5pLQJFZv/yG6Py16msghFxQPm9jHds6/+1rg9rlplb+SCrQVoU823nH1do0DzMFFmCLAHcci51yWQTvHPk4gYlPD5u2D9bCtqxqkVZDjQVQ+RrHCHjwaE4wa01AAPBfzbTA= Message-ID: <86802c440803170017r622114bdpede8625d1a8ff585@mail.gmail.com> Date: Mon, 17 Mar 2008 00:17:31 -0700 From: "Yinghai Lu" To: "Andi Kleen" Subject: Re: [PATCH] [11/18] Fix alignment bug in bootmem allocator Cc: linux-kernel@vger.kernel.org, pj@sgi.com, linux-mm@kvack.org, nickpiggin@yahoo.com.au In-Reply-To: <20080317070208.GC27015@one.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080317258.659191058@firstfloor.org> <20080317015825.0C0171B41E0@basil.firstfloor.org> <86802c440803161919h20ed9f78k6e3798ef56668638@mail.gmail.com> <20080317070208.GC27015@one.firstfloor.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 682 Lines: 18 On Mon, Mar 17, 2008 at 12:02 AM, Andi Kleen wrote: > > node_boot_start is not page aligned? > > It is, but it is not necessarily GB aligned and without this > change sometimes alloc_bootmem when requesting GB alignment > doesn't return GB aligned memory. This was a nasty problem > that took some time to track down. or preferred has some problem? preferred = PFN_DOWN(ALIGN(preferred, align)) + offset; YH -- 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/