From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction Date: Mon, 16 Jun 2008 10:29:19 -0700 (PDT) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Jeremy Fitzhardinge Cc: xen-devel , Peter Zijlstra , kvm-devel , x86@kernel.org, LKML , Virtualization Mailing List , Hugh Dickins , Ingo Molnar , Thomas Gleixner List-Id: virtualization@lists.linuxfoundation.org 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 for what it's worth. Linus