]> git.proxmox.com Git - mirror_qemu.git/commit
cputlb: add tlb_flush_by_mmuidx async routines
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 23 Feb 2017 18:29:20 +0000 (18:29 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 24 Feb 2017 10:32:46 +0000 (10:32 +0000)
commite72184455c2e479199823b617dbea0df6940e646
treed6ee48b6614a947c578e1ad22a23fe1df29ed0d1
parent0336cbf8532935d8e23c2aabf3e2ce2c0697b6ac
cputlb: add tlb_flush_by_mmuidx async routines

This converts the remaining TLB flush routines to use async work when
detecting a cross-vCPU flush. The only minor complication is having to
serialise the var_list of MMU indexes into a form that can be punted
to an asynchronous job.

The pending_tlb_flush field on QOM's CPU structure also becomes a
bitfield rather than a boolean.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
cputlb.c
include/qom/cpu.h