On 2011-10-26 17:18, Peter Maydell wrote:
> On 26 October 2011 16:13, Jan Kiszka <jan.kis...@siemens.com> wrote:
>> My point is that it is fine to use for per-vcpu variables because:
>>  - they are single-threaded in TCG mode
>>  - they are multi-threaded in KVM mode, but that's only affecting Linux
>>   hosts for which this TLS wrapper is already usable
> 
> Oh, I see. Feel free to suggest reworded comment text :-)

/* Dummy implementations -- we can get away with this because
 *  - we confine the use to per-VCPU variables
 *  - only linux-user supports multiple VCPU threads
 *  - TCG system mode is single-threaded regarding VCPUs
 *  - KVM system mode is multi-threaded but limited to Linux

OK?

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

Reply via email to