Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-03-02 Thread Inaky Perez-Gonzalez
On Tuesday 27 February 2007 12:45, Ingo Oeser wrote: > Hi Inaky, > > On Tuesday, 27. February 2007, Inaky Perez-Gonzalez wrote: > > On Monday 26 February 2007 18:18, Alan wrote: > > > > Yeah, I need semaphore. This is a hw register that says when the hw > > > > is ready to accept a new command. Cod

Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-02-27 Thread Ingo Oeser
Hi Inaky, On Tuesday, 27. February 2007, Inaky Perez-Gonzalez wrote: > On Monday 26 February 2007 18:18, Alan wrote: > > > Yeah, I need semaphore. This is a hw register that says when the hw > > > is ready to accept a new command. Code that wants to send commands has > > > to down the semaphore an

Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-02-27 Thread Andrew Morton
> On Mon, 26 Feb 2007 16:54:17 -0800 Inaky Perez-Gonzalez <[EMAIL PROTECTED]> > wrote: > On Monday 26 February 2007 16:33, Christoph Hellwig wrote: > > On Mon, Feb 26, 2007 at 04:13:38PM -0800, [EMAIL PROTECTED] wrote: > > > Introduce down_interruptible_timeout() using timers to make the waiter >

Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-02-26 Thread Inaky Perez-Gonzalez
On Monday 26 February 2007 18:18, Alan wrote: > > Yeah, I need semaphore. This is a hw register that says when the hw > > is ready to accept a new command. Code that wants to send commands has > > to down the semaphore and then send it. When hw is ready to get a new > > command, it sends and IRQ an

Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-02-26 Thread Alan
> Yeah, I need semaphore. This is a hw register that says when the hw > is ready to accept a new command. Code that wants to send commands has > to down the semaphore and then send it. When hw is ready to get a new > command, it sends and IRQ and the IRQ up()s the semaphore. So you need a mutex n

Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-02-26 Thread Inaky Perez-Gonzalez
On Monday 26 February 2007 16:33, Christoph Hellwig wrote: > On Mon, Feb 26, 2007 at 04:13:38PM -0800, [EMAIL PROTECTED] wrote: > > Introduce down_interruptible_timeout() using timers to make the waiter > > stop waiting by simulating a signal (see first patch for more > > details). As well introduc

Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-02-26 Thread Christoph Hellwig
On Mon, Feb 26, 2007 at 04:13:38PM -0800, [EMAIL PROTECTED] wrote: > Introduce down_interruptible_timeout() using timers to make the waiter > stop waiting by simulating a signal (see first patch for more > details). As well introduce asm-generic/semaphore.h and make other > architectures use it too

[patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-02-26 Thread inaky
Introduce down_interruptible_timeout() using timers to make the waiter stop waiting by simulating a signal (see first patch for more details). As well introduce asm-generic/semaphore.h and make other architectures use it too. -- Inaky - To unsubscribe from this list: send the line "unsubscribe li