qemu-patch-raspberry4/include/qom
Richard Henderson 60a2ad7d86 cputlb: Move cpu->pending_tlb_flush to env->tlb_c.pending_flush
Protect it with the tlb_lock instead of using atomics.
The move puts it in or near the same cacheline as the lock;
using the lock means we don't need a second atomic operation
in order to perform the update.  Which makes it cheap to also
update pending_flush in tlb_flush_by_mmuidx_async_work.

Tested-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2018-10-31 12:16:02 +00:00
..
cpu.h cputlb: Move cpu->pending_tlb_flush to env->tlb_c.pending_flush 2018-10-31 12:16:02 +00:00
object.h qom/object: Add a new function object_initialize_child() 2018-07-17 13:12:49 +01:00
object_interfaces.h Include qapi/qmp/qdict.h exactly where needed 2018-02-09 13:52:15 +01:00
qom-qobject.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00