From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933718AbYB2TrB (ORCPT ); Fri, 29 Feb 2008 14:47:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759111AbYB2Tqr (ORCPT ); Fri, 29 Feb 2008 14:46:47 -0500 Received: from relay1.sgi.com ([192.48.171.29]:59734 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758482AbYB2Tqq (ORCPT ); Fri, 29 Feb 2008 14:46:46 -0500 Date: Fri, 29 Feb 2008 11:46:44 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Andrea Arcangeli cc: Jack Steiner , Nick Piggin , akpm@linux-foundation.org, Robin Holt , Avi Kivity , Izik Eidus , kvm-devel@lists.sourceforge.net, Peter Zijlstra , general@lists.openfabrics.org, Steve Wise , Roland Dreier , Kanoj Sarcar , linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com Subject: Re: [PATCH] mmu notifiers #v7 In-Reply-To: <20080229130905.GS8091@v2.random> Message-ID: References: <20080219231157.GC18912@wotan.suse.de> <20080220010941.GR7128@v2.random> <20080220103942.GU7128@v2.random> <20080221045430.GC15215@wotan.suse.de> <20080221144023.GC9427@v2.random> <20080221161028.GA14220@sgi.com> <20080227192610.GF28483@v2.random> <20080229004001.GN8091@v2.random> <20080229130905.GS8091@v2.random> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 Feb 2008, Andrea Arcangeli wrote: > On Thu, Feb 28, 2008 at 05:03:01PM -0800, Christoph Lameter wrote: > > I thought you wanted to get rid of the sync via pte lock? > > Sure. _notify is happening inside the pt lock by coincidence, to > reduce the changes to mm/* as long as the mmu notifiers aren't > sleep capable. Ok if this is a coincidence then it would be better to separate the notifier callouts from the pte macro calls.