From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758249AbYF2JtB (ORCPT ); Sun, 29 Jun 2008 05:49:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753207AbYF2Jsv (ORCPT ); Sun, 29 Jun 2008 05:48:51 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:53679 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752569AbYF2Jsv (ORCPT ); Sun, 29 Jun 2008 05:48:51 -0400 Date: Sun, 29 Jun 2008 11:48:36 +0200 From: Ingo Molnar To: Yinghai Lu Cc: Thomas Gleixner , "H. Peter Anvin" , Jeremy Fitzhardinge , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] x86: fix init_memory_mapping over boundary v4 - diff to v3 Message-ID: <20080629094836.GA3001@elte.hu> References: <200806251748.06743.yhlu.kernel@gmail.com> <200806272247.11971.yhlu.kernel@gmail.com> <200806281749.02000.yhlu.kernel@gmail.com> <200806290039.06761.yhlu.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200806290039.06761.yhlu.kernel@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Yinghai Lu wrote: > some end boundary is only page alignment, instead of 2M alignment, > so call ker_phycial_mapping_init three times. > then don't overmap above the max_low_pfn > > v2: make init_memory_mapping more solid: start could be any value other than 0 > v3: fix NON PAE by handling left over in kernel_physical_mapping > v4: revert back to v2, and use PMD_SHIFT to calculate boundary > also adjust size for pre-allocated table size applied, thanks Yinghai. Ingo