summary refs log tree commit diff stats
path: root/python/qemu/utils/accel.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-10-01 13:36:33 -0700
committerRichard Henderson <richard.henderson@linaro.org>2022-12-20 17:09:41 -0800
commita97d5d2c8be2aec5b2e3c81cde33506b3c029033 (patch)
tree7ebe1d4e77ba9dd9da1850aac687e66563fa154e /python/qemu/utils/accel.py
parentbf590a67dd7a92de89f5297fe87e48ad21f96194 (diff)
downloadfocaccia-qemu-a97d5d2c8be2aec5b2e3c81cde33506b3c029033.tar.gz
focaccia-qemu-a97d5d2c8be2aec5b2e3c81cde33506b3c029033.zip
accel/tcg: Use interval tree for TBs in user-only mode
Begin weaning user-only away from PageDesc.

Since, for user-only, all TB (and page) manipulation is done with
a single mutex, and there is no virtual/physical discontinuity to
split a TB across discontinuous pages, place all of the TBs into
a single IntervalTree. This makes it trivial to find all of the
TBs intersecting a range.

Retain the existing PageDesc + linked list implementation for
system mode.  Move the portion of the implementation that overlaps
the new user-only code behind the common ifdef.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions