|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v2 06/27] target/sh4: Handle user-space atomics |
Date: | Sun, 16 Jul 2017 11:59:50 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/16/2017 11:43 AM, Aurelien Jarno wrote:
Indeed, if the same atomic code is used often it might be better to have it cached. That said it's only true for TB that are recognized, as IIRC TB with the exclusive lock are not cached.
At the moment they are not.But in Emilio's multi-threaded tcg v2 patch set, posted just today, we change that by adding a CF_PARALLEL flag to TB->cflags, and incorporating that into the tb hash.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |