summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard Henderson2019-09-22 03:47:59 +0200
committerRichard Henderson2019-09-25 19:44:29 +0200
commit707526ad865dc4064c3984bcc061596a21bf9d3b (patch)
tree848c92aa209bbbe42c30801048a82ab593587f76 /python
parentcputlb: Partially inline memory_region_section_get_iotlb (diff)
downloadqemu-707526ad865dc4064c3984bcc061596a21bf9d3b.tar.gz
qemu-707526ad865dc4064c3984bcc061596a21bf9d3b.tar.xz
qemu-707526ad865dc4064c3984bcc061596a21bf9d3b.zip
cputlb: Merge and move memory_notdirty_write_{prepare,complete}
Since 9458a9a1df1a, all readers of the dirty bitmaps wait for the rcu lock, which means that they wait until the end of any executing TranslationBlock. As a consequence, there is no need for the actual access to happen in between the _prepare and _complete. Therefore, we can improve things by merging the two functions into notdirty_write and dropping the NotDirtyInfo structure. In addition, the only users of notdirty_write are in cputlb.c, so move the merged function there. Pass in the CPUIOTLBEntry from which the ram_addr_t may be computed. Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions