From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932827AbYBBJ22 (ORCPT ); Sat, 2 Feb 2008 04:28:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754342AbYBBJ2M (ORCPT ); Sat, 2 Feb 2008 04:28:12 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:48994 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753486AbYBBJ2K (ORCPT ); Sat, 2 Feb 2008 04:28:10 -0500 Date: Sat, 2 Feb 2008 10:27:50 +0100 From: Ingo Molnar To: Jeremy Fitzhardinge Cc: LKML , Andi Kleen , Jan Beulich , Eduardo Pereira Habkost , Ian Campbell , H Peter Anvin , Zach Amsden Subject: Re: [PATCH 3 of 5] x86/pgtable.h: demacro ptep_set_access_flags Message-ID: <20080202092750.GC12044@elte.hu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i've applied this series too. It's pretty straightforward changes, mostly at the right granularity level. a few style nits though (i fixed them up, so no need to resend): > +static inline int ptep_set_access_flags(struct vm_area_struct *vma, > + unsigned long address, pte_t *ptep, > + pte_t entry, int dirty) > +{ > + int changed = !pte_same(*ptep, entry); > + if (changed && dirty) { > + *ptep = entry; we put a newline between variable definitions and the first code statement. That makes it a tiny bit easier to see the structure of the code. Ingo