All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/10] tb hash improvements
@ 2016-04-07 17:32 Emilio G. Cota
  2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 02/13] compiler.h: add QEMU_ALIGNED() to enforce struct alignment Emilio G. Cota
                   ` (11 more replies)
  0 siblings, 12 replies; 28+ messages in thread
From: Emilio G. Cota @ 2016-04-07 17:32 UTC (permalink / raw)
  To: QEMU Developers, MTTCG Devel
  Cc: Alex Bennée, Paolo Bonzini, Peter Crosthwaite,
	Richard Henderson, Peter Maydell, Sergey Fedorov

See v1 for context:
 https://lists.gnu.org/archive/html/qemu-devel/2016-04/msg00587.html

All patches in v2 are checkpatch-clean, except 05 (checkpatch should
be ignored for this one) and 06, which I took unmodified (later patches
fix those warnings while doing other things, anyway).

Note that patch 01 has already been picked up by Paolo; I left it
here for completeness.

Another patch that is related to this series is the transition of
tb->flags to uint32_t; this has been sent as a separate patch since
it touches all targets. It shouldn't conflict with this patchset.

Changes from v1:
- Drop QEMU_CACHELINE, define QEMU_ALIGNED()
  + Remove excessive caution about Windows: it supports it.
  + define QHT_BUCKET_ALIGN as 64
- Add some reviewed-by tags from Alex.
- Drop POSIX spinlock wrapper; use the one pointed out by Paolo
  + Add a couple of fixes over this spinlock implementation:
    * define cpu_relax() for some architectures
    * Optimize spin_lock() for uncontended cases
- Add tb_hash_func5, a version of xxhash32 customized for tb-hash, so
  that the input values do not have to be contiguous in memory.
  + Drop xxhash.h, add only the customized version at exec/tb-hash-xx.h
- qht
  + use size_t for counts in qht
    * Drop some 2**32 size checks in there; it's not really a problem
      in practice.
  + s/__func/func__locked/
  + Test program: hash with tb_hash_func5

Thanks,

		Emilio

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

end of thread, other threads:[~2016-04-08 21:35 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07 17:32 [Qemu-devel] [PATCH v2 00/10] tb hash improvements Emilio G. Cota
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 02/13] compiler.h: add QEMU_ALIGNED() to enforce struct alignment Emilio G. Cota
2016-04-08 18:26   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 03/13] seqlock: remove optional mutex Emilio G. Cota
2016-04-08 18:26   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 04/13] seqlock: rename write_lock/unlock to write_begin/end Emilio G. Cota
2016-04-08 18:27   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 05/13] include/processor.h: define cpu_relax() Emilio G. Cota
2016-04-08 18:33   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 06/13] qemu-thread: add simple test-and-set spinlock Emilio G. Cota
2016-04-08 13:02   ` Alex Bennée
2016-04-08 18:38     ` Richard Henderson
2016-04-08 21:24       ` Alex Bennée
2016-04-08 21:26         ` Paolo Bonzini
2016-04-08 21:31           ` Richard Henderson
2016-04-08 21:35             ` Sergey Fedorov
2016-04-08 18:35   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 07/13] qemu-thread: call cpu_relax() while spinning Emilio G. Cota
2016-04-08 18:39   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 08/13] qemu-thread: optimize spin_lock for uncontended locks Emilio G. Cota
2016-04-08 18:40   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 09/13] exec: add tb_hash_func5, derived from xxhash Emilio G. Cota
2016-04-08 18:45   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 10/13] tb hash: hash phys_pc, pc, and flags with xxhash Emilio G. Cota
2016-04-08 18:48   ` Richard Henderson
2016-04-07 17:32 ` [Qemu-devel] [PATCH v2 12/13] qht: add test program Emilio G. Cota
2016-04-08 12:41 ` [Qemu-devel] [PATCH v2 00/10] tb hash improvements Alex Bennée
     [not found] ` <1460050358-25025-2-git-send-email-cota@braap.org>
2016-04-08 18:25   ` [Qemu-devel] [PATCH v2 01/13] translate-all: add missing fold of tb_ctx into tcg_ctx Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.