diff options
| author | Alex Bennée | 2017-02-23 19:29:20 +0100 |
|---|---|---|
| committer | Alex Bennée | 2017-02-24 11:32:46 +0100 |
| commit | e72184455c2e479199823b617dbea0df6940e646 (patch) | |
| tree | d6ee48b6614a947c578e1ad22a23fe1df29ed0d1 /include | |
| parent | cputlb and arm/sparc targets: convert mmuidx flushes from varg to bitmap (diff) | |
| download | qemu-e72184455c2e479199823b617dbea0df6940e646.tar.gz qemu-e72184455c2e479199823b617dbea0df6940e646.tar.xz qemu-e72184455c2e479199823b617dbea0df6940e646.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/qom/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qom/cpu.h b/include/qom/cpu.h index e80bf7a64a..3e61c880da 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -407,7 +407,7 @@ struct CPUState { * avoid potential races. The aim of the flag is to avoid * unnecessary flushes. */ - bool pending_tlb_flush; + uint16_t pending_tlb_flush; }; QTAILQ_HEAD(CPUTailQ, CPUState); |
