hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
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