Changes between Version 2 and Version 3 of kernel_locks


Ignore:
Timestamp:
Oct 9, 2014, 12:50:31 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_locks

    v2 v3  
    1111 === void _get_lock( giet_lock_t lock ) ===
    1212Takes a lock with a blocking ll/sc atomic access.
    13  * If the cache coherence is granted by the hardware,
    14 the first read is a standard (cacheable) lw, as the local copy can be polled when the lock is already taken by another task, reducing trafic on the interconnect. When the lock is released by the owner task, the local copy is updated or invalidated by the coherence protocol.
     13 * If the cache coherence is granted by the hardware, the first read is a standard (cacheable) lw, as the local copy can be polled when the lock is already taken by another task, reducing trafic on the interconnect. When the lock is released by the owner task, the local copy is updated or invalidated by the coherence protocol.
    1514 * If there is no hardware cache coherence a pseudo random delay is introduced between two successive retry.
    1615