[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD |
Date: |
Fri, 28 Jun 2013 16:47:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 28/06/2013 15:05, Peter Maydell ha scritto:
>>> >> An objection seemed to be that it is not really needed yet, but as
>>> >> pointed out by Peter this isn't really the case. This patch brings us
>>> >> (FreeBSD) in line with per-thread data semantics on Linux and is used
>>> >> by qemu system emulation as well.
>> >
>> > It brings it in line with Linux, even though FreeBSD has the same need
>> > for TLS as OpenBSD and Windows (i.e. none). In other words, we go from
>> > two cases (need TLS and uses it, has no TLS and doesn't need it) to
>> > three (we add "uses TLS with no need for it").
> I don't understand what you mean by "no need for it". We are
> already multithreaded in system mode, so this is simply
> making FreeBSD do the same thing as Linux.
cpu_single_env is protected by the BQL unless you're running on KVM.
Paolo
- Re: [Qemu-devel] [PATCH] tls.h: Enable TLS on FreeBSD, (continued)
- Re: [Qemu-devel] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/24
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Michael Tokarev, 2013/06/28
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Ed Maste, 2013/06/28
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/28
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Peter Maydell, 2013/06/28
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Ed Maste, 2013/06/28
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD,
Paolo Bonzini <=
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Peter Maydell, 2013/06/28
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/28
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Ed Maste, 2013/06/28
- Re: [Qemu-devel] [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/28