[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH] tls.h: Enable TLS on FreeBSD
From: |
Ed Maste |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH] tls.h: Enable TLS on FreeBSD |
Date: |
Fri, 28 Jun 2013 10:08:20 -0400 |
On 28 June 2013 09:05, Peter Maydell <address@hidden> wrote:
> On 28 June 2013 14:03, Paolo Bonzini <address@hidden> wrote:
>> Il 28/06/2013 14:54, Ed Maste 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. That seems like a
> clear improvement to me.
I agree; even if this is a hack, it's a well-tested one. Indeed, even
on a FreeBSD host most users already have this change, as they have
built from ports or used prebuilt packages.
- [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Ed Maste, 2013/06/24
- Re: [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/24
- Re: [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Michael Tokarev, 2013/06/28
- Re: [Qemu-trivial] [Qemu-devel] [PATCH] tls.h: Enable TLS on FreeBSD, Ed Maste, 2013/06/28
- Re: [Qemu-trivial] [Qemu-devel] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/28
- Re: [Qemu-trivial] [Qemu-devel] [PATCH] tls.h: Enable TLS on FreeBSD, Peter Maydell, 2013/06/28
- Re: [Qemu-trivial] [Qemu-devel] [PATCH] tls.h: Enable TLS on FreeBSD,
Ed Maste <=
- Re: [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/28
- Re: [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Peter Maydell, 2013/06/28
- Re: [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/28
- Re: [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Ed Maste, 2013/06/28
- Re: [Qemu-trivial] [PATCH] tls.h: Enable TLS on FreeBSD, Paolo Bonzini, 2013/06/28