| Date | Thu, 21 Oct 2004 10:47:26 +0100 | From | Christoph Hellwig <> | Subject | Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8 |
| |
On Thu, Oct 21, 2004 at 11:44:38AM +0200, Ingo Molnar wrote: > > * Christoph Hellwig <hch@infradead.org> wrote: > > > > The problem is that semaphores are hold by Process A and released by > > > Process B, which makes Ingo's checks trigger > > > > Which is perfectly valid for a semaphore. > > yes, it is valid and perfectly fine code, but i'm trying to separate out > the simple 'mutex' functionality (99% of the semaphore users are just > that) and implement a 'counted semaphore' separately. This removes a > number of implementational constraints from mutexes.
So leave the good old struct semaphore alone and introduce a mutex_t..
- 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/
|