From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757856AbYFPSPv (ORCPT ); Mon, 16 Jun 2008 14:15:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753893AbYFPSPo (ORCPT ); Mon, 16 Jun 2008 14:15:44 -0400 Received: from extu-mxob-1.symantec.com ([216.10.194.28]:41819 "EHLO extu-mxob-1.symantec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752864AbYFPSPn (ORCPT ); Mon, 16 Jun 2008 14:15:43 -0400 Date: Mon, 16 Jun 2008 19:13:48 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@blonde.site To: Jeremy Fitzhardinge cc: Linus Torvalds , Ingo Molnar , LKML , x86@kernel.org, xen-devel , Thomas Gleixner , Zachary Amsden , kvm-devel , Virtualization Mailing List , Rusty Russell , Peter Zijlstra Subject: Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction In-Reply-To: Message-ID: References: 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 Mon, 16 Jun 2008, Linus Torvalds wrote: > On Mon, 16 Jun 2008, Jeremy Fitzhardinge wrote: > > > > ptep_modify_prot_start() returns the current pte value, and puts the > > pte entry into a state where either the hardware will not update the > > pte, or if it does, the updates will be preserved on commit. > > > > ptep_modify_prot_commit() writes back the updated pte, makes sure that > > any hardware updates made since ptep_modify_prot_start() are > > preserved. > > Ok, I'm fine with this now that it's renamed to be clearly about just > protection bits. > > So > > Acked-by: Linus Torvalds And seems very reasonable (and exceptionally well described) to me too. Acked-by: Hugh Dickins