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.
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> |
3 years ago | |
|---|---|---|
| .. | ||
| user | 5 years ago | |
| address-spaces.h | 9 years ago | |
| confidential-guest-support.h | 5 years ago | |
| cpu-all.h | 3 years ago | |
| cpu-common.h | 3 years ago | |
| cpu-defs.h | 3 years ago | |
| cpu_ldst.h | 4 years ago | |
| cputlb.h | 5 years ago | |
| exec-all.h | 3 years ago | |
| gdbstub.h | 3 years ago | |
| gen-icount.h | 4 years ago | |
| helper-gen.h | 4 years ago | |
| helper-head.h | 4 years ago | |
| helper-proto.h | 4 years ago | |
| helper-tcg.h | 4 years ago | |
| hwaddr.h | 5 years ago | |
| ioport.h | 5 years ago | |
| log.h | 4 years ago | |
| memattrs.h | 4 years ago | |
| memop.h | 4 years ago | |
| memopidx.h | 4 years ago | |
| memory-internal.h | 6 years ago | |
| memory.h | 3 years ago | |
| memory_ldst.h.inc | 5 years ago | |
| memory_ldst_cached.h.inc | 5 years ago | |
| memory_ldst_phys.h.inc | 5 years ago | |
| page-vary.h | 4 years ago | |
| plugin-gen.h | 3 years ago | |
| poison.h | 3 years ago | |
| ram_addr.h | 3 years ago | |
| ramblock.h | 3 years ago | |
| ramlist.h | 4 years ago | |
| target_page.h | 9 years ago | |
| translate-all.h | 3 years ago | |
| translator.h | 3 years ago | |