hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/Documentation/atomic_bitops.txt
....@@ -1,6 +1,6 @@
1
-
2
-On atomic bitops.
3
-
1
+=============
2
+Atomic bitops
3
+=============
44
55 While our bitmap_{}() functions are non-atomic, we have a number of operations
66 operating on single bits in a bitmap that are atomic.
....@@ -59,7 +59,7 @@
5959 - RMW operations that have a return value are fully ordered.
6060
6161 - RMW operations that are conditional are unordered on FAILURE,
62
- otherwise the above rules apply. In the case of test_and_{}_bit() operations,
62
+ otherwise the above rules apply. In the case of test_and_set_bit_lock(),
6363 if the bit in memory is unchanged by the operation then it is deemed to have
6464 failed.
6565