]> git.proxmox.com Git - mirror_qemu.git/commit
cputlb: Filter flushes on already clean tlbs
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 20 Oct 2018 19:04:57 +0000 (12:04 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 31 Oct 2018 12:16:35 +0000 (12:16 +0000)
commit3d1523ced6060cdfe9e768a814d064067ccabfe5
treec12e077ca5bfe491fae423394861d0bb813e24e8
parente09de0a20d42e5e76e91ffc7f9f4787e225e1ec2
cputlb: Filter flushes on already clean tlbs

Especially for guests with large numbers of tlbs, like ARM or PPC,
we may well not use all of them in between flush operations.
Remember which tlbs have been used since the last flush, and
avoid any useless flushing.

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>
accel/tcg/cputlb.c
include/exec/cpu-defs.h