From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265593AbUE0WMk (ORCPT ); Thu, 27 May 2004 18:12:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265580AbUE0WMk (ORCPT ); Thu, 27 May 2004 18:12:40 -0400 Received: from palrel10.hp.com ([156.153.255.245]:17551 "EHLO palrel10.hp.com") by vger.kernel.org with ESMTP id S265515AbUE0WMi (ORCPT ); Thu, 27 May 2004 18:12:38 -0400 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16566.26579.689594.710403@napali.hpl.hp.com> Date: Thu, 27 May 2004 15:12:35 -0700 To: Benjamin Herrenschmidt Cc: davidm@hpl.hp.com, Andrea Arcangeli , Linus Torvalds , Andrew Morton , Linux Kernel list , Ingo Molnar , Ben LaHaise , linux-mm@kvack.org, Architectures Group Subject: Re: [PATCH] ppc64: Fix possible race with set_pte on a present PTE In-Reply-To: <1085695254.7835.126.camel@gaston> References: <1085369393.15315.28.camel@gaston> <1085371988.15281.38.camel@gaston> <1085373839.14969.42.camel@gaston> <20040525034326.GT29378@dualathlon.random> <20040525042054.GU29378@dualathlon.random> <16562.52948.981913.814783@napali.hpl.hp.com> <20040525045322.GX29378@dualathlon.random> <16566.25617.363386.115466@napali.hpl.hp.com> <1085695254.7835.126.camel@gaston> X-Mailer: VM 7.18 under Emacs 21.3.1 Reply-To: davidm@hpl.hp.com X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> On Fri, 28 May 2004 08:00:54 +1000, Benjamin Herrenschmidt said: Benjamin> Same for PPC, but we still have a race where we can reach Benjamin> that code, see my initial mail (typically, because your Benjamin> low level code, for obvious reasons, doesn't take the mm Benjamin> semaphore, thus the page may have been mapped right after Benjamin> you decide to go to do_page_fault and before it takes the Benjamin> mm sem). Yes; I was only explaining how this works on ia64. --david