mbox

[PULL,v2,00/14] accel/tcg: Rewrite user-only vma tracking

Message ID 20221221050313.2950701-1-richard.henderson@linaro.org
State New
Headers show

Pull-request

https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20221220

Message

Richard Henderson Dec. 21, 2022, 5:02 a.m. UTC
The following changes since commit 8540a1f69578afb3b37866b1ce5bec46a9f6efbc:

  Merge tag 'hppa-fixes-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2022-12-20 15:32:27 +0000)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20221220

for you to fetch changes up to 811242654934bd4613634235ef6a8219792ab088:

  accel/tcg: Restrict page_collection structure to system TB maintainance (2022-12-20 17:11:12 -0800)

----------------------------------------------------------------
Use interval trees for user-only vma mappings.
Assorted cleanups to page locking.

----------------------------------------------------------------
Philippe Mathieu-Daudé (5):
      accel/tcg: Restrict cpu_io_recompile() to system emulation
      accel/tcg: Remove trace events from trace-root.h
      accel/tcg: Rename tb_invalidate_phys_page_fast{,__locked}()
      accel/tcg: Factor tb_invalidate_phys_range_fast() out
      accel/tcg: Restrict page_collection structure to system TB maintainance

Richard Henderson (9):
      util: Add interval-tree.c
      accel/tcg: Rename page_flush_tb
      accel/tcg: Use interval tree for TBs in user-only mode
      accel/tcg: Use interval tree for TARGET_PAGE_DATA_SIZE
      accel/tcg: Drop PAGE_RESERVED for CONFIG_BSD
      accel/tcg: Move page_{get,set}_flags to user-exec.c
      accel/tcg: Use interval tree for user-only page tracking
      accel/tcg: Move PageDesc tree into tb-maint.c for system
      accel/tcg: Move remainder of page locking to tb-maint.c

 accel/tcg/internal.h            |  83 +---
 include/exec/exec-all.h         |  43 +-
 include/exec/translate-all.h    |   6 -
 include/qemu/interval-tree.h    |  99 ++++
 accel/tcg/cputlb.c              |   7 +-
 accel/tcg/tb-maint.c            | 994 ++++++++++++++++++++++++++++++----------
 accel/tcg/translate-all.c       | 811 --------------------------------
 accel/tcg/user-exec.c           | 658 +++++++++++++++++++++++++-
 tests/tcg/multiarch/test-vma.c  |  22 +
 tests/unit/test-interval-tree.c | 209 +++++++++
 util/interval-tree.c            | 882 +++++++++++++++++++++++++++++++++++
 accel/tcg/trace-events          |   4 +
 tests/unit/meson.build          |   1 +
 trace-events                    |   4 -
 util/meson.build                |   1 +
 15 files changed, 2662 insertions(+), 1162 deletions(-)
 create mode 100644 include/qemu/interval-tree.h
 create mode 100644 tests/tcg/multiarch/test-vma.c
 create mode 100644 tests/unit/test-interval-tree.c
 create mode 100644 util/interval-tree.c

Comments

Peter Maydell Dec. 21, 2022, 3:43 p.m. UTC | #1
On Wed, 21 Dec 2022 at 05:03, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The following changes since commit 8540a1f69578afb3b37866b1ce5bec46a9f6efbc:
>
>   Merge tag 'hppa-fixes-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2022-12-20 15:32:27 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20221220
>
> for you to fetch changes up to 811242654934bd4613634235ef6a8219792ab088:
>
>   accel/tcg: Restrict page_collection structure to system TB maintainance (2022-12-20 17:11:12 -0800)
>
> ----------------------------------------------------------------
> Use interval trees for user-only vma mappings.
> Assorted cleanups to page locking.
>

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.0
for any user-visible changes.

-- PMM