qemu-e2k/accel/tcg
Richard Henderson 707526ad86 cputlb: Merge and move memory_notdirty_write_{prepare,complete}
Since 9458a9a1df, 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>
2019-09-25 10:44:29 -07:00
..
Makefile.objs tcg: Add generic vector expanders 2018-02-08 15:54:05 +00:00
atomic_template.h atomic_template: fix indentation in GEN_ATOMIC_HELPER 2019-09-13 16:05:01 +01:00
cpu-exec-common.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
cpu-exec.c icount: clean up cpu_can_io at the entry to the block 2019-08-20 17:26:22 +02:00
cputlb.c cputlb: Merge and move memory_notdirty_write_{prepare,complete} 2019-09-25 10:44:29 -07:00
tcg-all.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
tcg-runtime-gvec.c tcg: Fix typos in helper_gvec_sar{8,32,64}v 2019-06-12 21:08:38 -07:00
tcg-runtime.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
tcg-runtime.h tcg: Add support for vector bitwise select 2019-05-22 15:09:43 -04:00
trace-events trace-events: Consistently point to docs/devel/tracing.txt 2019-03-22 16:17:37 +00:00
translate-all.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
translate-all.h tcg: Fix LGPL version number 2019-01-30 11:01:52 +01:00
translator.c icount: remove unnecessary gen_io_end calls 2019-08-20 17:26:22 +02:00
user-exec-stub.c hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
user-exec.c tcg: Factor out probe_write() logic into probe_access() 2019-09-03 08:34:18 -07:00