Benjamin LaHaise <[email protected]> wrote: > > What about the use of atomic operations on frv? Are they more lightweight > than a semaphore, making for a better fastpath? What do you mean? Atomic ops don't compare to semaphores. On FRV atomic ops don't disable interrupts; they reserve one of the eight conditional execution flags at compile time and that flag is cleared by entry to an exception, thus aborting the write instruction. See: Documentation/fujitsu/frv/atomic-ops.txt I could try and improve the fastpath on the semaphores for FRV - and perhaps should - but I implemented the semaphores before I'd thought of the clever way to do atomic ops. David - 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:
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- From: Benjamin LaHaise <[email protected]>
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- From: Andrew Morton <[email protected]>
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- From: Suparna Bhattacharya <[email protected]>
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- From: Trond Myklebust <[email protected]>
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- From: Benjamin LaHaise <[email protected]>
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- From: Christoph Hellwig <[email protected]>
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- From: David Howells <[email protected]>
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- From: Trond Myklebust <[email protected]>
- Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- Prev by Date: Re: Fortuna
- Next by Date: Re: ACPI/HT or Packet Scheduler BUG?
- Previous by thread: Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- Next by thread: Re: [RFC] Add support for semaphore-like structure with support for asynchronous I/O
- Index(es):