|
From: | Richard Henderson |
Subject: | Re: [PATCH 2/3] softmmu: Use async_run_on_cpu in tcg_commit |
Date: | Sun, 27 Aug 2023 07:54:51 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 8/26/23 16:24, Richard Henderson wrote:
+static void tcg_commit_cpu(CPUState *cpu, run_on_cpu_data data) +{ + CPUAddressSpace *cpuas = data.host_ptr; + + cpuas->memory_dispatch = address_space_to_dispatch(cpuas->as); + tlb_flush(cpu); +}
Question: do I need to take the iothread lock here, while re-generating the address space dispatch?
r~
[Prev in Thread] | Current Thread | [Next in Thread] |