Lines Matching refs:atomic
6 This document explains the purpose of the local atomic operations, how
18 * Purpose of local atomic operations
20 Local atomic operations are meant to provide fast and highly reentrant per CPU
21 counters. They minimize the performance cost of standard atomic operations by
25 Having fast per CPU atomic counters is interesting in many cases : it does not
30 Local atomic operations only guarantee variable modification atomicity wrt the
40 It can be done by slightly modifying the standard atomic operations : only
53 * Rules to follow when using local atomic operations
71 "long", aligned, variables are always atomic. Since no memory
76 * How to use local atomic operations
88 In preemptible context, use get_cpu_var() and put_cpu_var() around local atomic