diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-18 04:35:46 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-18 04:35:46 +0200 |
| commit | fd8597ac315b3be5f5bdb85445345a7ba4627c15 (patch) | |
| tree | e0136bfba812c251ada5f369d5f0c051930b6c82 /lib | |
| parent | 58dc03cec0df3cf569f73ea90d71f17e6a3dc84d (diff) | |
| download | plan9front-fd8597ac315b3be5f5bdb85445345a7ba4627c15.tar.xz | |
zynq: fix barriers
unlock()/iunlock():
we need to place the coherence() *before* "l->key = 0", so that any
stores that where done while holding the lock become observable
*before* other processors see the lock released.
cas()/tas():
place memory barrier before successfull return to prevent reordering.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
