Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934496Ab3CHRZ5 (ORCPT ); Fri, 8 Mar 2013 12:25:57 -0500 Received: from mail-ia0-f181.google.com ([209.85.210.181]:50883 "EHLO mail-ia0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756146Ab3CHRZ4 (ORCPT ); Fri, 8 Mar 2013 12:25:56 -0500 MIME-Version: 1.0 In-Reply-To: <51399F34.2030500@cn.fujitsu.com> References: <1362718720-27048-1-git-send-email-yinghai@kernel.org> <1362718720-27048-15-git-send-email-yinghai@kernel.org> <51399F34.2030500@cn.fujitsu.com> Date: Fri, 8 Mar 2013 09:25:55 -0800 X-Google-Sender-Auth: Oza00ux_sTFgYHtY4oShVSiySVs Message-ID: Subject: Re: [PATCH 14/14] x86, mm: Put pagetable on local node ram From: Yinghai Lu To: Tang Chen Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton , Thomas Renninger , linux-kernel@vger.kernel.org, Tejun Heo , Pekka Enberg , Jacob Shin , Konrad Rzeszutek Wilk Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 34 On Fri, Mar 8, 2013 at 12:20 AM, Tang Chen wrote: > Hi Yinghai, > > On 03/08/2013 12:58 PM, Yinghai Lu wrote: > ...... > >> /* xen has big range in reserved near end of ram, skip it at >> first.*/ >> - addr = memblock_find_in_range(ISA_END_ADDRESS, end, PMD_SIZE, >> PMD_SIZE); >> + addr = memblock_find_in_range(begin, end, PMD_SIZE, PMD_SIZE); > > > Found that the latest code here is: > > 414 addr = memblock_find_in_range(ISA_END_ADDRESS, end, PMD_SIZE, > 415 PAGE_SIZE); > ^^^^^^^^^^^^ > > The "align" is PAGE_SIZE, not PMD_SIZE. Not sure if it is a problem. :) > Yes, it is PMD_SIZE. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=98e7a989979b185f49e86ddaed2ad6890299d9f0 Thanks Yinghai -- 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/