Re: Announce: Semaphore-Removal tree

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daniel Walker <dwalker@...>
Cc: Christoph Hellwig <hch@...>, Matthew Wilcox <matthew@...>, <linux-kernel@...>, Stephen Rothwell <sfr@...>
Date: Saturday, April 26, 2008 - 5:30 am

On Fri, Apr 25, 2008 at 02:22:31PM -0700, Daniel Walker wrote:

Right at hand I have the XFS inode hash lock was converted from a rw_semaphore
to a rwlock_t becuase the context switch overhead was killing
performance in various benchmarks. This is a very typical scenary for
locks that are taken often and held for a rather short time.  Add to
that fact that a spinlock is compltely optimized away for an UP kernel
while a mutex is not and the amount of memory that any mutex takes
compared to a spinlock you have a clear winner.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Announce: Semaphore-Removal tree, Matthew Wilcox, (Fri Apr 25, 1:00 pm)
Re: Announce: Semaphore-Removal tree, David Chinner, (Mon Apr 28, 1:10 am)
Re: Announce: Semaphore-Removal tree, Matthew Wilcox, (Mon Apr 28, 8:20 am)
Re: Announce: Semaphore-Removal tree, David Chinner, (Mon Apr 28, 8:09 pm)
Re: Announce: Semaphore-Removal tree, Matthew Wilcox, (Wed Apr 30, 6:06 am)
Re: Announce: Semaphore-Removal tree, David Chinner, (Wed Apr 30, 7:01 am)
Re: Announce: Semaphore-Removal tree, Matthew Wilcox, (Mon Apr 28, 10:35 pm)
Re: Announce: Semaphore-Removal tree, David Chinner, (Mon Apr 28, 11:56 pm)
Re: Announce: Semaphore-Removal tree, Matthew Wilcox, (Wed Apr 30, 6:21 am)
Re: Announce: Semaphore-Removal tree, Stephen Rothwell, (Sat Apr 26, 9:54 am)
Re: Announce: Semaphore-Removal tree, Matthew Wilcox, (Sat Apr 26, 11:59 am)
Re: Announce: Semaphore-Removal tree, Stephen Rothwell, (Sat Apr 26, 12:43 pm)
Re: Announce: Semaphore-Removal tree, Daniel Walker, (Fri Apr 25, 4:38 pm)
Re: Announce: Semaphore-Removal tree, Christoph Hellwig, (Fri Apr 25, 5:12 pm)
Re: Announce: Semaphore-Removal tree, Daniel Walker, (Fri Apr 25, 5:22 pm)
Re: Announce: Semaphore-Removal tree, Christoph Hellwig, (Sat Apr 26, 5:30 am)
Re: Announce: Semaphore-Removal tree, Peter Zijlstra, (Sat Apr 26, 9:39 am)
Re: Announce: Semaphore-Removal tree, Christoph Hellwig, (Sat Apr 26, 9:44 am)
Re: Announce: Semaphore-Removal tree, David Chinner, (Mon Apr 28, 12:59 am)
Re: Announce: Semaphore-Removal tree, Peter Zijlstra, (Sat Apr 26, 10:04 am)
Re: Announce: Semaphore-Removal tree, Daniel Walker, (Fri Apr 25, 4:24 pm)