From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753388AbYAXOmD (ORCPT ); Thu, 24 Jan 2008 09:42:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751749AbYAXOlx (ORCPT ); Thu, 24 Jan 2008 09:41:53 -0500 Received: from host36-195-149-62.serverdedicati.aruba.it ([62.149.195.36]:38051 "EHLO mx.cpushare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbYAXOlx (ORCPT ); Thu, 24 Jan 2008 09:41:53 -0500 Date: Thu, 24 Jan 2008 15:41:51 +0100 From: Andrea Arcangeli To: Christoph Lameter Cc: Avi Kivity , Izik Eidus , Andrew Morton , Nick Piggin , kvm-devel@lists.sourceforge.net, Benjamin Herrenschmidt , steiner@sgi.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com, holt@sgi.com, Hugh Dickins Subject: Re: [kvm-devel] [PATCH] export notifier #1 Message-ID: <20080124144150.GO7141@v2.random> References: <20080121125204.GJ6970@v2.random> <4795F9D2.1050503@qumranet.com> <20080122144332.GE7331@v2.random> <20080122200858.GB15848@v2.random> <20080122223139.GD15848@v2.random> <20080123114136.GE15848@v2.random> <20080124143454.GN7141@v2.random> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080124143454.GN7141@v2.random> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 24, 2008 at 03:34:54PM +0100, Andrea Arcangeli wrote: > set_page_dirty can be called inside ->invalidate_page if needed. But > I'm not against artificially setting the dirty bit of the pteval > returned by set_page_dirty, perhaps that's more efficient as it will ^^^^^^^^^^^^^^ ptep_clear_flush of course > require a single locked op on the page_t. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Arcangeli Subject: Re: [PATCH] export notifier #1 Date: Thu, 24 Jan 2008 15:41:51 +0100 Message-ID: <20080124144150.GO7141@v2.random> References: <20080121125204.GJ6970@v2.random> <4795F9D2.1050503@qumranet.com> <20080122144332.GE7331@v2.random> <20080122200858.GB15848@v2.random> <20080122223139.GD15848@v2.random> <20080123114136.GE15848@v2.random> <20080124143454.GN7141@v2.random> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Andrew Morton , Nick Piggin , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Benjamin Herrenschmidt , steiner-sJ/iWh9BUns@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Avi Kivity , kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, daniel.blueman-xqY44rlHlBpWk0Htik3J/w@public.gmane.org, holt-sJ/iWh9BUns@public.gmane.org, Hugh Dickins To: Christoph Lameter Return-path: Content-Disposition: inline In-Reply-To: <20080124143454.GN7141-lysg2Xt5kKMAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Thu, Jan 24, 2008 at 03:34:54PM +0100, Andrea Arcangeli wrote: > set_page_dirty can be called inside ->invalidate_page if needed. But > I'm not against artificially setting the dirty bit of the pteval > returned by set_page_dirty, perhaps that's more efficient as it will ^^^^^^^^^^^^^^ ptep_clear_flush of course > require a single locked op on the page_t. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 24 Jan 2008 15:41:51 +0100 From: Andrea Arcangeli Subject: Re: [kvm-devel] [PATCH] export notifier #1 Message-ID: <20080124144150.GO7141@v2.random> References: <20080121125204.GJ6970@v2.random> <4795F9D2.1050503@qumranet.com> <20080122144332.GE7331@v2.random> <20080122200858.GB15848@v2.random> <20080122223139.GD15848@v2.random> <20080123114136.GE15848@v2.random> <20080124143454.GN7141@v2.random> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080124143454.GN7141@v2.random> Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Avi Kivity , Izik Eidus , Andrew Morton , Nick Piggin , kvm-devel@lists.sourceforge.net, Benjamin Herrenschmidt , steiner@sgi.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com, holt@sgi.com, Hugh Dickins List-ID: On Thu, Jan 24, 2008 at 03:34:54PM +0100, Andrea Arcangeli wrote: > set_page_dirty can be called inside ->invalidate_page if needed. But > I'm not against artificially setting the dirty bit of the pteval > returned by set_page_dirty, perhaps that's more efficient as it will ^^^^^^^^^^^^^^ ptep_clear_flush of course > require a single locked op on the page_t. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org