Lines Matching refs:memory

38 proper implicit or explicit read memory barrier is needed before reading the
59 or explicit memory barrier is needed before the value set with the operation
69 implicit or explicit memory barrier is used after possible runtime
73 interface must take care of that with a proper implicit or explicit memory
83 or processor, and explicitly invoke the appropriate compiler and/or memory
150 and never changed later, so that memory barriers are not needed:
173 Don't even -think- about doing this without proper use of memory barriers,
192 require any explicit memory barriers. They need only perform the
205 include explicit memory barriers that are performed before and after
206 the operation. It must be done such that all memory operations before
214 memory barrier semantics which satisfy the above requirements, that is
224 This means that like atomic_{inc,dec}_return(), the memory barrier
236 Again, these primitives provide explicit memory barrier semantics around
243 provide explicit memory barrier semantics around the operation.
249 This primitive must provide explicit memory barrier semantics around
260 atomic_xchg must provide explicit memory barriers around the operation.
269 atomic_cmpxchg must provide explicit memory barriers around the operation.
282 atomic_add_unless must provide explicit memory barriers around the
288 If a caller requires memory barrier semantics around an atomic_t
301 It makes sure that all memory operations preceding the atomic_dec()
311 A missing memory barrier in the cases where they are required by the
375 found a bug wrt. memory barriers in kfree_skb() that exposed
376 the atomic_t memory barrier requirements quite clearly.)
402 With the memory barrier semantics required of the atomic_t operations
403 which return values, the above sequence of memory visibility can never
422 their SMP and memory barrier semantics are similar in shape and scope
437 They must execute atomically, yet there are no implicit memory barrier
463 must provide explicit memory barrier semantics around their execution.
464 All memory operations before the atomic bit operation call must be
467 subsequent memory operation is made visible. For example:
475 "obj->dead = 1;" is visible to cpus before the atomic memory operation
477 memory operation done by test_and_set_bit() must become visible before
487 If explicit memory barriers are required around {set,clear}_bit() (which do
488 not return a value, and thus does not need to provide memory barrier
497 /* All memory operations before this call will
504 * subsequent memory operations.
536 These non-atomic variants also do not require any special memory
540 memory-barrier semantics as the atomic and bit operations returning
543 Spinlocks and rwlocks have memory barrier expectations as well.
547 visible before any subsequent memory operation.
550 all previous memory operations are globally visible before the
564 It is actually pretty simple to get the memory barrier correct.
567 subsequent memory operation.
624 Now, as far as memory barriers go, as long as spin_lock()
625 strictly orders all subsequent memory operations (including
633 is not dropping to zero, there are no memory ordering