qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix TLS support on x86


From: David Woodhouse
Subject: Re: [Qemu-devel] [PATCH] Fix TLS support on x86
Date: Thu, 21 Jun 2007 13:31:07 +0800

On Wed, 2007-06-20 at 18:42 +0200, Alexander Graf wrote:
> implements futexes (this is mostly done by David Woodhouse as well,
> FUTEX_WAKE_OP done by me)

#ifdef BSWAP_NEEDED, only FUTEX_OP_CMP_EQ and FUTEX_OP_CMP_NE will work
as expected. If we want to do the rest then we'll need to implement
FUTEX_OP_CMP_LT_WRONGENDIAN &c in the kernel.

Or maybe, since we don't do set_robust_list (and would need wrong-endian
support in the kernel for that too), we can assume that it's all
in-process, and hence all _within_ qemu, and we could actually implement
the futex stuff entirely within qemu with qemu's own locking?

For now I think the safer option is just to leave FUTEX_WAKE_OP
unimplemented. Jakub, what do you think?

-- 
dwmw2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]