|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v6 13/19] cputlb: atomically update tlb fields used by tlb_reset_dirty |
Date: | Thu, 10 Nov 2016 18:27:42 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/10/2016 05:14 PM, Alex Bennée wrote:
Even worse than that we trip up the atomic.h QEMU_BUILD_BUG_ON with the atomic_cmpxchg. Now I believe we can use atomic_cmpxchg__nocheck without too much issue on x86 but we'll need to #ifdef it on detection of wide atomics.
You've already got CONFIG_ATOMIC64. And what's the fallback?We ought not be enabling mttcg for 32-bit host and 64-bit guest at all. But that doesn't help much here, where we're otherwise guest width agnostic.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |