[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 4/7] exec: [tcg] Use different TBs according
From: |
Lluís Vilanova |
Subject: |
Re: [Qemu-devel] [PATCH v5 4/7] exec: [tcg] Use different TBs according to the vCPU's dynamic tracing state |
Date: |
Wed, 28 Dec 2016 17:23:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Richard Henderson writes:
> On 12/28/2016 06:08 AM, Lluís Vilanova wrote:
>> @@ -83,6 +85,13 @@ uint32_t tb_hash_func5(uint64_t a0, uint64_t b0, uint32_t
>> e)
>> h32 += e * PRIME32_3;
>> h32 = rol32(h32, 17) * PRIME32_4;
>>
>> + if (sizeof(TRACE_QHT_VCPU_DSTATE_TYPE) == sizeof(uint32_t)) {
>> + h32 += f * PRIME32_3;
>> + h32 = rol32(h32, 17) * PRIME32_4;
>> + } else {
>> + abort();
>> + }
>> +
> QEMU_BUILD_BUG_ON.
Right, thanks.
Lluis
- [Qemu-devel] [PATCH v5 0/7] trace: [tcg] Optimize per-vCPU tracing states with separate TB caches, Lluís Vilanova, 2016/12/28
- [Qemu-devel] [PATCH v5 1/7] exec: [tcg] Refactor flush of per-CPU virtual TB cache, Lluís Vilanova, 2016/12/28
- [Qemu-devel] [PATCH v5 2/7] trace: Make trace_get_vcpu_event_count() inlinable, Lluís Vilanova, 2016/12/28
- [Qemu-devel] [PATCH v5 3/7] trace: [tcg] Delay changes to dynamic state when translating, Lluís Vilanova, 2016/12/28
- [Qemu-devel] [PATCH v5 4/7] exec: [tcg] Use different TBs according to the vCPU's dynamic tracing state, Lluís Vilanova, 2016/12/28
- [Qemu-devel] [PATCH v5 5/7] trace: [tcg] Do not generate TCG code to trace dinamically-disabled events, Lluís Vilanova, 2016/12/28
- [Qemu-devel] [PATCH v5 6/7] trace: [tcg, trivial] Re-align generated code, Lluís Vilanova, 2016/12/28
- [Qemu-devel] [PATCH v5 7/7] trace: [trivial] Statically enable all guest events, Lluís Vilanova, 2016/12/28