]> git.proxmox.com Git - mirror_qemu.git/blobdiff - docs/lockcnt.txt
rbd: Fix to cleanly reject -drive without pool or image
[mirror_qemu.git] / docs / lockcnt.txt
index 25a8091a535475ff76263b54e43db8deb086e67e..2a79b3205b47eb43175e5d3169e2b07259441787 100644 (file)
@@ -142,12 +142,11 @@ can also be more efficient in two ways:
 - it avoids taking the lock for many operations (for example
   incrementing the counter while it is non-zero);
 
-- on some platforms, one could implement QemuLockCnt to hold the
-  lock and the mutex in a single word, making it no more expensive
+- on some platforms, one can implement QemuLockCnt to hold the lock
+  and the mutex in a single word, making the fast path no more expensive
   than simply managing a counter using atomic operations (see
-  docs/atomics.txt).  This is not implemented yet, but can be
-  very helpful if concurrent access to the data structure is
-  expected to be rare.
+  docs/atomics.txt).  This can be very helpful if concurrent access to
+  the data structure is expected to be rare.
 
 
 Using the same mutex for frees and writes can still incur some small