Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933383Ab2JYOdg (ORCPT ); Thu, 25 Oct 2012 10:33:36 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:51013 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932450Ab2JYOde (ORCPT ); Thu, 25 Oct 2012 10:33:34 -0400 MIME-Version: 1.0 In-Reply-To: <20121025075508.GD3712@gmail.com> References: <20121024195311.GB11779@jshin-Toonie> <20121025075508.GD3712@gmail.com> Date: Thu, 25 Oct 2012 07:33:32 -0700 X-Google-Sender-Auth: VFahMsXX47m5FNpcdPGH0bN7eTE Message-ID: Subject: Re: [tip:x86/urgent] x86, mm: Find_early_table_space based on ranges that are actually being mapped From: Yinghai Lu To: Ingo Molnar Cc: hpa@zytor.com, linux-kernel@vger.kernel.org, jacob.shin@amd.com, tglx@linutronix.de, trini@ti.com, hpa@linux.intel.com, linux-tip-commits@vger.kernel.org Content-Type: multipart/mixed; boundary=000e0cd1d1246e24aa04cce316d6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2295 Lines: 52 --000e0cd1d1246e24aa04cce316d6 Content-Type: text/plain; charset=ISO-8859-1 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. Thanks Yinghai --000e0cd1d1246e24aa04cce316d6 Content-Type: application/octet-stream; name="remove_wrong_addback.patch" Content-Disposition: attachment; filename="remove_wrong_addback.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h8pz1w3t0 U3ViamVjdDogW1BBVENIXSB4ODYsIG1tOiBSZW1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ArIFBBR0VfU0laRSAtIDEpID4+IFBBR0VfU0hJ RlQ7Cg== --000e0cd1d1246e24aa04cce316d6-- -- 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/