OSDN Git Service

accel/tcg: Use interval tree for user-only page tracking
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 5 Oct 2022 14:34:51 +0000 (07:34 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 21 Dec 2022 01:11:12 +0000 (17:11 -0800)
commit67ff2186b0a49d4e1ea0be2398548eae443762e4
tree6ae6400bfbc5e7d66930b3cf6a4b6f0ae7736c67
parentd941c086b818533a9332272609405334e59a6f27
accel/tcg: Use interval tree for user-only page tracking

Finish weaning user-only away from PageDesc.

Using an interval tree to track page permissions means that
we can represent very large regions efficiently.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/290
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/967
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1214
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/internal.h
accel/tcg/tb-maint.c
accel/tcg/user-exec.c
tests/tcg/multiarch/test-vma.c [new file with mode: 0644]