LWN.net Logo

enable irqs when waiting for rwlocks

From:  Petr Tesarik <ptesarik@suse.cz>
To:  linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org
Subject:  [PATCH 0/2] enable irqs when waiting for rwlocks
Date:  Wed, 22 Oct 2008 10:33:34 +0200
Message-ID:  <1224664414.4430.33.camel@elijah.suse.cz>
Cc:  tee@sgi.com
Archive-link:  Article, Thread

Hello,

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. In particular, I wasn't able to make a reasonably
lightweight implementation for x86, so I assume there are not such large
systems based on x86(_64). Of course, the possibility to implement
raw_{read|write}_lock_flags for any architecture is still there.

Petr Tesarik


--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds