Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753496AbYKDMY3 (ORCPT ); Tue, 4 Nov 2008 07:24:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751565AbYKDMYV (ORCPT ); Tue, 4 Nov 2008 07:24:21 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:60067 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751481AbYKDMYU (ORCPT ); Tue, 4 Nov 2008 07:24:20 -0500 Message-Id: <20081104122405.046233722@attica.americas.sgi.com> User-Agent: quilt/0.47-1 Date: Tue, 04 Nov 2008 06:24:05 -0600 From: holt@sgi.com To: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Cc: Petr Tesarik , Tony Ernst , Robin Holt , Peter Zijlstra , Ingo Molnar Subject: [Patch V3 0/3] Enable irqs when waiting for rwlocks Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 24 New in V3: * Handle rearrangement of some arch's include/asm directories. New in V2: * get rid of ugly #ifdef's in kernel/spinlock.h * convert __raw_{read|write}_lock_flags to an inline func SGI has observed that on large systems, interrupts are not serviced for a long period of time when waiting for a rwlock. The following patch series re-enables irqs while waiting for the lock, resembling the code which is already there for spinlocks. I only made the ia64 version, because the patch adds some overhead to the fast path. I assume there is currently no demand to have this for other architectures, because the systems are not so large. Of course, the possibility to implement raw_{read|write}_lock_flags for any architecture is still there. Robin Holt -- 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/