forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cedb70eafb
Since we already have bitmap_mutex to protect either the dirty bitmap or the clear log bitmap, we don't need atomic operations to set/clear/test on the clear log bitmap. Switching all ops from atomic to non-atomic versions, meanwhile touch up the comments to show which lock is in charge. Introduced non-atomic version of bitmap_test_and_clear_atomic(), mostly the same as the atomic version but simplified a few places, e.g. dropped the "old_bits" variable, and also the explicit memory barriers. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> |
2 years ago | |
---|---|---|
.. | ||
aio-posix.c | 3 years ago | |
aio-posix.h | 3 years ago | |
aio-wait.c | 2 years ago | |
aio-win32.c | 2 years ago | |
aiocb.c | ||
async-teardown.c | 2 years ago | |
async.c | 2 years ago | |
atomic64.c | 3 years ago | |
base64.c | 4 years ago | |
bitmap.c | 2 years ago | |
bitops.c | 6 years ago | |
block-helpers.c | 4 years ago | |
block-helpers.h | 4 years ago | |
buffer.c | 4 years ago | |
bufferiszero.c | 3 years ago | |
cacheflush.c | 2 years ago | |
compatfd.c | 3 years ago | |
coroutine-sigaltstack.c | 3 years ago | |
coroutine-ucontext.c | 3 years ago | |
coroutine-win32.c | 3 years ago | |
crc-ccitt.c | 4 years ago | |
crc32c.c | 6 years ago | |
cutils.c | 2 years ago | |
dbus.c | 5 years ago | |
drm.c | 4 years ago | |
envlist.c | 3 years ago | |
error-report.c | 3 years ago | |
error.c | 5 years ago | |
event_notifier-posix.c | 3 years ago | |
event_notifier-win32.c | 3 years ago | |
fdmon-epoll.c | 4 years ago | |
fdmon-io_uring.c | 3 years ago | |
fdmon-poll.c | 4 years ago | |
fifo8.c | 4 years ago | |
filemonitor-inotify.c | 4 years ago | |
filemonitor-stub.c | 4 years ago | |
getauxval.c | 4 years ago | |
guest-random.c | 3 years ago | |
hbitmap.c | 2 years ago | |
hexdump.c | 3 years ago | |
host-utils.c | 2 years ago | |
id.c | 4 years ago | |
int128.c | 3 years ago | |
iov.c | 2 years ago | |
iova-tree.c | 2 years ago | |
keyval.c | 3 years ago | |
lockcnt.c | 4 years ago | |
log.c | 2 years ago | |
main-loop.c | 2 years ago | |
memalign.c | 3 years ago | |
memfd.c | 5 years ago | |
meson.build | 2 years ago | |
mmap-alloc.c | 2 years ago | |
module.c | 2 years ago | |
notify.c | 5 years ago | |
nvdimm-utils.c | 4 years ago | |
osdep.c | 2 years ago | |
oslib-posix.c | 2 years ago | |
oslib-win32.c | 2 years ago | |
path.c | 5 years ago | |
qdist.c | ||
qemu-co-shared-resource.c | 3 years ago | |
qemu-co-timeout.c | 2 years ago | |
qemu-config.c | 2 years ago | |
qemu-coroutine-io.c | 3 years ago | |
qemu-coroutine-lock.c | 2 years ago | |
qemu-coroutine-sleep.c | 4 years ago | |
qemu-coroutine.c | 2 years ago | |
qemu-option.c | 3 years ago | |
qemu-print.c | 4 years ago | |
qemu-progress.c | 3 years ago | |
qemu-sockets.c | 2 years ago | |
qemu-thread-common.h | 6 years ago | |
qemu-thread-posix.c | 2 years ago | |
qemu-thread-win32.c | 2 years ago | |
qemu-timer-common.c | 4 years ago | |
qemu-timer.c | 2 years ago | |
qht.c | 3 years ago | |
qsp.c | 3 years ago | |
range.c | 6 years ago | |
rcu.c | 3 years ago | |
readline.c | 4 years ago | |
selfmap.c | 3 years ago | |
stats64.c | 4 years ago | |
sys_membarrier.c | ||
systemd.c | 5 years ago | |
thread-context.c | 2 years ago | |
thread-pool.c | 3 years ago | |
throttle.c | 4 years ago | |
timed-average.c | ||
trace-events | 3 years ago | |
trace.h | 4 years ago | |
transactions.c | 3 years ago | |
unicode.c | 6 years ago | |
uri.c | 3 years ago | |
userfaultfd.c | 4 years ago | |
uuid.c | 6 years ago | |
vfio-helpers.c | 2 years ago | |
vhost-user-server.c | 3 years ago | |
yank.c | 4 years ago |