qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/17] tcg: tb_lock_removal redux v2
@ 2018-04-06  2:12 Emilio G. Cota
  2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 01/17] qht: require a default comparison function Emilio G. Cota
                   ` (18 more replies)
  0 siblings, 19 replies; 35+ messages in thread
From: Emilio G. Cota @ 2018-04-06  2:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée, Richard Henderson, Paolo Bonzini

v1: http://lists.gnu.org/archive/html/qemu-devel/2018-02/msg06499.html

Changes since v1:

- Add R-b's

- Rebase onto master

- qht_lookup_custom: move @func to be the last argument, which
  simplifies the new qht_lookup function. (I've kept R-b's tags
  here because this is a very simple change.)

- qht_insert: add an **existing argument and keep the bool return value,
  as suggested by Alex.

- Fix indentation of TB_FOR_EACH_TAGGED macro

- Add page_locked assertions, as suggested by Alex.

- Expand comment in tb_link_page and in docs/mttcg about parallel
  code insertion.

- Fix stale comment about tb_lock next to CF_INVALID

- Fix stale comment in cpu_restore_state, as suggested by Alex.

There is only one checkpatch error for the entire series -- it is
a false positive.

You can fetch the tree from:
  https://github.com/cota/qemu/tree/tb-lock-removal-redux-v2

Thanks,

		Emilio
---
 accel/tcg/cpu-exec.c            |   96 ++-
 accel/tcg/cputlb.c              |    8 -
 accel/tcg/translate-all.c       | 1053 ++++++++++++++++++++++----------
 accel/tcg/translate-all.h       |    6 +-
 docs/devel/multi-thread-tcg.txt |   24 +-
 exec.c                          |   25 +-
 include/exec/cpu-common.h       |    2 +-
 include/exec/exec-all.h         |   51 +-
 include/exec/memory-internal.h  |    6 +-
 include/exec/tb-context.h       |    4 -
 include/qemu/qht.h              |   32 +-
 linux-user/main.c               |    3 -
 tcg/tcg.c                       |  205 +++++++
 tcg/tcg.h                       |   13 +-
 tests/qht-bench.c               |   18 +-
 tests/test-qht.c                |   23 +-
 util/qht.c                      |   41 +-
 17 files changed, 1133 insertions(+), 477 deletions(-)

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2018-05-10 21:37 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-06  2:12 [Qemu-devel] [PATCH v2 00/17] tcg: tb_lock_removal redux v2 Emilio G. Cota
2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 01/17] qht: require a default comparison function Emilio G. Cota
2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 02/17] qht: return existing entry when qht_insert fails Emilio G. Cota
2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 03/17] tcg: track TBs with per-region BST's Emilio G. Cota
2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 04/17] tcg: move tb_ctx.tb_phys_invalidate_count to tcg_ctx Emilio G. Cota
2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 05/17] translate-all: iterate over TBs in a page with PAGE_FOR_EACH_TB Emilio G. Cota
2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 06/17] translate-all: make l1_map lockless Emilio G. Cota
2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 07/17] translate-all: remove hole in PageDesc Emilio G. Cota
2018-04-06  2:12 ` [Qemu-devel] [PATCH v2 08/17] translate-all: work page-by-page in tb_invalidate_phys_range_1 Emilio G. Cota
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 09/17] translate-all: move tb_invalidate_phys_page_range up in the file Emilio G. Cota
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 10/17] translate-all: use per-page locking in !user-mode Emilio G. Cota
2018-04-14  3:29   ` Richard Henderson
2018-04-24  0:18     ` Emilio G. Cota
2018-05-08 16:30       ` Emilio G. Cota
2018-04-24  0:22   ` Emilio G. Cota
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 11/17] translate-all: add page_locked assertions Emilio G. Cota
2018-04-14  3:31   ` Richard Henderson
2018-04-24  0:27     ` Emilio G. Cota
2018-05-10 21:36       ` Emilio G. Cota
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 12/17] translate-all: add page_collection assertions Emilio G. Cota
2018-04-14  3:42   ` Richard Henderson
2018-04-24  0:31     ` Emilio G. Cota
2018-05-10 21:37       ` Emilio G. Cota
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 13/17] translate-all: discard TB when tb_link_page returns an existing matching TB Emilio G. Cota
2018-04-14  3:47   ` Richard Henderson
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 14/17] translate-all: protect TB jumps with a per-destination-TB lock Emilio G. Cota
2018-04-20 16:13   ` Alex Bennée
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 15/17] cputlb: remove tb_lock from tlb_flush functions Emilio G. Cota
2018-04-14  4:05   ` Richard Henderson
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 16/17] translate-all: remove tb_lock mention from cpu_restore_state_from_tb Emilio G. Cota
2018-04-14  4:05   ` Richard Henderson
2018-04-06  2:13 ` [Qemu-devel] [PATCH v2 17/17] tcg: remove tb_lock Emilio G. Cota
2018-04-06  2:32 ` [Qemu-devel] [PATCH v2 00/17] tcg: tb_lock_removal redux v2 no-reply
2018-04-20 16:17 ` Alex Bennée
2018-04-20 16:50   ` Emilio G. Cota

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).