Skip to content

RFC tcg: tb lock updates

Pranith Kumar qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tcg: Release tb_lock in the order acquiredcpu-exec.c+3 -93 replies
2/3tcg: Reuse hashed pc valuecpu-exec.c+3 -20 replies
3/3tcg: Explicitly unlock tb_lockexec.c hw/i386/kvmvapic.c translate-all.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC PATCH 0/3] tcg: tb lock updates

Hello,

Please find a few minor tb lock updates in the MTTCG series. The main motivation was to remove tb_lock_reset() and explicitly unlock the tb_lock wherever possible so that reset() can be removed. This is not possible yet since we take interrupts and exit the execution loop with the tb lock held from multiple locations. However, I still think that explicit unlocking is a good idea.

Thanks,

Pranith Kumar (3):
tcg: Release tb_lock in the order acquired
tcg: Reuse hashed pc value
tcg: Explicitly unlock tb_lock

 cpu-exec.c         | 17 ++++++-----------
 exec.c             |  2 ++
 hw/i386/kvmvapic.c |  1 +
 translate-all.c    |  3 +++
 4 files changed, 12 insertions(+), 11 deletions(-)
Signature · 1 line
2.11.0