I wrote:
It looks like fi->complete_sem is a actually a counting semaphore. It could perhaps be replaced by a wait queue plus an atomic counter.
...which would be a semaphore. %-| -- Stefan Richter -=====-=-==- -==- ==--- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [RFC PATCH 2.6.17-mm1 1/3] ieee1394: reduce size of hpsb_host by 252 bytes
- From: Stefan Richter <[email protected]>
- [RFC PATCH 2.6.17-mm1 2/3] ieee1394: coarser locking for tlabel allocation
- From: Stefan Richter <[email protected]>
- [RFC PATCH 2.6.17-mm1 3/3] ieee1394: nodemgr: read tlabel attributes atomically
- From: Stefan Richter <[email protected]>
- [RFC PATCH 2.6.17-mm1 4/3] ieee1394: convert ieee1394_transactions from semaphores to waitqueue
- From: Stefan Richter <[email protected]>
- Re: [RFC PATCH 2.6.17-mm1 4/3] ieee1394: convert ieee1394_transactions from semaphores to waitqueue
- From: Stefan Richter <[email protected]>
- Re: [RFC PATCH 2.6.17-mm1 4/3] ieee1394: convert ieee1394_transactions from semaphores to waitqueue
- From: Arjan van de Ven <[email protected]>
- Re: [RFC PATCH 2.6.17-mm1 4/3] ieee1394: convert ieee1394_transactions from semaphores to waitqueue
- From: Stefan Richter <[email protected]>
- [RFC PATCH 2.6.17-mm1 1/3] ieee1394: reduce size of hpsb_host by 252 bytes
- Prev by Date: Re: [patch 1/3] Drop tasklist lock in do_sched_setscheduler
- Next by Date: Re: Section mismatch warnings
- Previous by thread: Re: [RFC PATCH 2.6.17-mm1 4/3] ieee1394: convert ieee1394_transactions from semaphores to waitqueue
- Next by thread: [RFC PATCH 2.6.17-mm1 5/3] ieee1394: raw1394: remove redundant counting semaphore
- Index(es):