Re: [PATCH] Introduce down_nowait()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Hellwig <hch@...>
Cc: Rusty Russell <rusty@...>, Linus Torvalds <torvalds@...>, <linux-kernel@...>, Stephen Rothwell <sfr@...>, Matthew Wilcox <matthew@...>
Date: Wednesday, May 21, 2008 - 4:19 am

On Wed, 21 May 2008 04:04:53 -0400 Christoph Hellwig <hch@infradead.org> wrote:


No it doesn't.  If anything, a "true" return from something called
"down_nowait()" means "I didn't wait!".  Or something.


Shouldn't be necessary to look it up.  By that argument we could
call it eat_at_joes() and sell the advertising space.


Well, we can walk and chew gum at the same time.

The number of down_trylocks in rc3 is 51 and the number of
down_trylocks and down_nowaits in -mm is 47.  So progress is pretty
glacial.

<wonders why -mm still has seven down_trlyocks>

<oh>

./kernel/semaphore.c
./kernel/mutex.c
./include/linux/semaphore.h

Anyway, yes, I agree that the whole effort is a bit dubious and that
the time could be better directed to semaphore eliminations.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Introduce down_nowait(), Rusty Russell, (Wed May 21, 2:00 am)
Re: [PATCH] Introduce down_nowait(), Andrew Morton, (Wed May 21, 2:29 am)
Re: [PATCH] Introduce down_nowait(), Christoph Hellwig, (Wed May 21, 4:04 am)
Re: [PATCH] Introduce down_nowait(), Andrew Morton, (Wed May 21, 4:19 am)
Re: [PATCH] Introduce down_nowait(), Rusty Russell, (Wed May 21, 8:09 am)
Re: [PATCH] Introduce down_nowait(), Rusty Russell, (Wed May 21, 3:56 am)
Re: [PATCH] Introduce down_nowait(), Daniel Walker, (Wed May 21, 1:04 pm)
Re: [PATCH] Introduce down_nowait(), Rusty Russell, (Thu May 22, 4:56 am)
Re: [PATCH] Introduce down_nowait(), Daniel Walker, (Thu May 22, 11:48 am)
Re: [PATCH] Introduce down_nowait(), Rusty Russell, (Thu May 22, 8:52 pm)