Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261332AbVALX6Y (ORCPT ); Wed, 12 Jan 2005 18:58:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261599AbVALX4L (ORCPT ); Wed, 12 Jan 2005 18:56:11 -0500 Received: from omx1-ext.sgi.com ([192.48.179.11]:28114 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S261600AbVALXyt (ORCPT ); Wed, 12 Jan 2005 18:54:49 -0500 Date: Wed, 12 Jan 2005 15:54:23 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Nick Piggin cc: Andrew Morton , torvalds@osdl.org, ak@muc.de, hugh@veritas.com, linux-mm@kvack.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, benh@kernel.crashing.org Subject: Re: page table lock patch V15 [0/7]: overview In-Reply-To: <41E5B7AD.40304@yahoo.com.au> Message-ID: References: <41E4BCBE.2010001@yahoo.com.au> <20050112014235.7095dcf4.akpm@osdl.org> <20050112104326.69b99298.akpm@osdl.org> <41E5AFE6.6000509@yahoo.com.au> <20050112153033.6e2e4c6e.akpm@osdl.org> <41E5B7AD.40304@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 21 On Thu, 13 Jan 2005, Nick Piggin wrote: > Note that this was with my ptl removal patches. I can't see why Christoph's > would have _any_ extra overhead as they are, but it looks to me like they're > lacking in atomic ops. So I'd expect something similar for Christoph's when > they're properly atomic. Pointer operations and word size operations are atomic. So this is mostly okay. The issue arises on architectures that have a large pte size than the wordsize. This is only on i386 PAE mode and S/390. S/390 falls back to the page table lock for these operations. PAE mode should do the same and not use atomic ops if they cannot be made to work in a reasonable manner. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/