From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751633Ab2JYWXi (ORCPT ); Thu, 25 Oct 2012 18:23:38 -0400 Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11]:53179 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751075Ab2JYWXe (ORCPT ); Thu, 25 Oct 2012 18:23:34 -0400 X-Forefront-Antispam-Report: CIP:163.181.249.109;KIP:(null);UIP:(null);IPV:NLI;H:ausb3twp02.amd.com;RD:none;EFVD:NLI X-SpamScore: -6 X-BigFish: VPS-6(z555ehz98dI9371I103dK1432Izz1202h1d1ah1d2ahzz8275bh8275dhz2dh668h839h944hd25hd2bhf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh1155h) X-WSS-ID: 0MCGZJ2-02-1S2-02 X-M-MSG: Date: Thu, 25 Oct 2012 17:23:27 -0500 From: Jacob Shin To: Yinghai Lu CC: Ingo Molnar , , , , , , Subject: Re: [tip:x86/urgent] x86, mm: Find_early_table_space based on ranges that are actually being mapped Message-ID: <20121025222327.GA3736@jshin-Toonie> References: <20121024195311.GB11779@jshin-Toonie> <20121025075508.GD3712@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-OriginatorOrg: amd.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 25, 2012 at 07:33:32AM -0700, Yinghai Lu wrote: > On Thu, Oct 25, 2012 at 12:55 AM, Ingo Molnar wrote: > >> > - ptes = (end + PAGE_SIZE - 1) >> PAGE_SHIFT; > >> > + /* The first 2/4M doesn't use large pages. */ > >> > + if (mr[i].start < PMD_SIZE) > >> > + extra += range; > >> > >> those three lines should be added back. > > missed "not" ... > > >> > >> it just get reverted in 7b16bbf9 > > > > Could you please send a delta patch against tip:x86/urgent? > > please check attached one. Acked-by: Jacob Shin Sorry about that, I just retrofitted the patch and didn't see those lines got reverted out, Thanks! > > Thanks > > Yinghai