Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756499AbYA1WFb (ORCPT ); Mon, 28 Jan 2008 17:05:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752611AbYA1WFS (ORCPT ); Mon, 28 Jan 2008 17:05:18 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:37041 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754157AbYA1WFQ (ORCPT ); Mon, 28 Jan 2008 17:05:16 -0500 From: "Rafael J. Wysocki" To: "H. Peter Anvin" Subject: Re: [PATCH] x86: Construct 32 bit boot time page tables in native format. Date: Mon, 28 Jan 2008 23:02:50 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: Jeremy Fitzhardinge , Pavel Machek , Ingo Molnar , Ian Campbell , Mika =?iso-8859-1?q?Penttil=E4?= , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "Eric W. Biederman" References: <1201167544.30671.64.camel@cthulhu.hellion.org.uk> <200801282150.15411.rjw@sisk.pl> <479E4918.3010204@zytor.com> In-Reply-To: <479E4918.3010204@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801282302.51796.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1058 Lines: 26 On Monday, 28 of January 2008, H. Peter Anvin wrote: > Rafael J. Wysocki wrote: > > On Monday, 28 of January 2008, Jeremy Fitzhardinge wrote: > >> Rafael J. Wysocki wrote: > >>> Actually, no. We only do that with the kernel code mapping which should be > >>> safe as long as TLBs are not flushed (and they aren't). > >>> > >> Er, what? Assuming the TLB will retain some mappings while you > >> overwrite the pagetable is a highly dubious prospect. Are you copying > >> the same values over, or something else? > > > > As long as a relocatable kernel is not used to restore a non-relocatable one > > (or vice versa), we're copying the same values over. > > > > So that case is deliberately considered broken? Not deliberately, but the fix I had caused a regression. It's just a pending issue. Rafael -- 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/