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 | |
---|---|---|
.. | ||
accel.h | 2 years ago | |
async-teardown.h | 2 years ago | |
atomic.h | 2 years ago | |
atomic128.h | 4 years ago | |
base64.h | 4 years ago | |
bcd.h | ||
bitmap.h | 2 years ago | |
bitops.h | 3 years ago | |
bswap.h | 3 years ago | |
buffer.h | 3 years ago | |
cacheflush.h | 4 years ago | |
cacheinfo.h | 3 years ago | |
co-shared-resource.h | 3 years ago | |
compiler.h | 3 years ago | |
config-file.h | 3 years ago | |
coroutine-tls.h | 3 years ago | |
coroutine.h | 2 years ago | |
coroutine_int.h | 4 years ago | |
cpu-float.h | 3 years ago | |
cpuid.h | 3 years ago | |
crc-ccitt.h | 3 years ago | |
crc32c.h | 6 years ago | |
ctype.h | 6 years ago | |
cutils.h | 2 years ago | |
datadir.h | 4 years ago | |
dbus.h | 3 years ago | |
drm.h | 6 years ago | |
envlist.h | ||
error-report.h | 3 years ago | |
event_notifier.h | 3 years ago | |
fifo8.h | 4 years ago | |
fifo32.h | ||
filemonitor.h | 4 years ago | |
futex.h | 7 years ago | |
guest-random.h | 6 years ago | |
hbitmap.h | 2 years ago | |
help-texts.h | 3 years ago | |
help_option.h | 4 years ago | |
host-utils.h | 2 years ago | |
hw-version.h | 3 years ago | |
id.h | 4 years ago | |
int128.h | 2 years ago | |
iov.h | 4 years ago | |
iova-tree.h | 2 years ago | |
jhash.h | 6 years ago | |
job.h | 2 years ago | |
keyval.h | 3 years ago | |
lockable.h | 3 years ago | |
log-for-trace.h | 3 years ago | |
log.h | 3 years ago | |
madvise.h | 3 years ago | |
main-loop.h | 2 years ago | |
memalign.h | 3 years ago | |
memfd.h | 5 years ago | |
mmap-alloc.h | 2 years ago | |
module.h | 2 years ago | |
mprotect.h | 3 years ago | |
notify.h | 5 years ago | |
nvdimm-utils.h | 4 years ago | |
option.h | 3 years ago | |
option_int.h | 6 years ago | |
osdep.h | 2 years ago | |
path.h | ||
plugin-memory.h | 3 years ago | |
plugin.h | 2 years ago | |
pmem.h | 6 years ago | |
processor.h | 7 years ago | |
progress_meter.h | 3 years ago | |
qdist.h | 6 years ago | |
qemu-options.h | 4 years ago | |
qemu-plugin.h | 3 years ago | |
qemu-print.h | 3 years ago | |
qemu-progress.h | 3 years ago | |
qht.h | 6 years ago | |
qsp.h | 6 years ago | |
queue.h | 4 years ago | |
range.h | 3 years ago | |
ratelimit.h | 3 years ago | |
rcu.h | 3 years ago | |
rcu_queue.h | 4 years ago | |
readline.h | 3 years ago | |
selfmap.h | 3 years ago | |
seqlock.h | 4 years ago | |
sockets.h | 2 years ago | |
stats64.h | 3 years ago | |
sys_membarrier.h | 6 years ago | |
systemd.h | 6 years ago | |
thread-context.h | 2 years ago | |
thread-posix.h | 3 years ago | |
thread-win32.h | 3 years ago | |
thread.h | 2 years ago | |
throttle-options.h | 7 years ago | |
throttle.h | 6 years ago | |
timed-average.h | ||
timer.h | 3 years ago | |
transactions.h | 3 years ago | |
tsan.h | 5 years ago | |
typedefs.h | 2 years ago | |
unicode.h | 6 years ago | |
units.h | 6 years ago | |
uri.h | ||
userfaultfd.h | 4 years ago | |
uuid.h | 5 years ago | |
vfio-helpers.h | 3 years ago | |
vhost-user-server.h | 3 years ago | |
win_dump_defs.h | 3 years ago | |
xattr.h | 3 years ago | |
xxhash.h | 4 years ago | |
yank.h | 4 years ago |