From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763732AbYETJHA (ORCPT ); Tue, 20 May 2008 05:07:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760638AbYETJGu (ORCPT ); Tue, 20 May 2008 05:06:50 -0400 Received: from gw.goop.org ([64.81.55.164]:44020 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757635AbYETJGu (ORCPT ); Tue, 20 May 2008 05:06:50 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 0 of 8] x86: use PTE_MASK consistently Message-Id: Date: Tue, 20 May 2008 08:26:16 +0100 From: Jeremy Fitzhardinge To: Linus Torvalds Cc: Andrew Morton , Ingo Molnar , LKML , Thomas Gleixner , Hugh Dickins , Theodore Tso , Gabriel C , Keith Packard , "Pallipadi, Venkatesh" , Eric Anholt , "Siddha, Suresh B" , airlied@linux.ie, "Barnes, Jesse" , "Rafael J. Wysocki" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Repost due to screwed up mail headers. ] Hi all, Here's a series to rationalize the use of PTE_MASK and remove some amount of ad-hocery. This gist of the series is: 1. Fix the definition of PTE_MASK so that its equally applicable in all pagetable modes 2. Use it consistently I haven't tried to address the *_bad() stuff, other than to convert pmd_bad_* to use PTE_MASK. This series has had some testing in the x86.git tree, and hasn't shown any problems. Each patch is more or less absolutely trivial and the series is very bisectable, to help track down any problems which might arise (this area has always been a source of subtle problems). J