Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932258AbWH0VGW (ORCPT ); Sun, 27 Aug 2006 17:06:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932260AbWH0VGV (ORCPT ); Sun, 27 Aug 2006 17:06:21 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:7405 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S932258AbWH0VGV (ORCPT ); Sun, 27 Aug 2006 17:06:21 -0400 Date: Sun, 27 Aug 2006 14:05:52 -0700 (PDT) From: Christoph Lameter To: Andi Kleen cc: Dong Feng , Paul Mackerras , linux-kernel@vger.kernel.org Subject: Re: Why Semaphore Hardware-Dependent? In-Reply-To: <200608272252.48946.ak@suse.de> Message-ID: References: <200608272252.48946.ak@suse.de> 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: 676 Lines: 15 On Sun, 27 Aug 2006, Andi Kleen wrote: > rwsems don't -- there are two flavours: a generic spinlock'ed one and a > complicated atomic based one that only works on some architectures. > As far as I know nobody has demonstrated a clear performance increase > from the first so it might be possible to switch all to the generic > implementation. Yup that would be the major issue.I'd be interested to see some tests in that area. - 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/