qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] atomics: add volatile_read/volatile_set


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] atomics: add volatile_read/volatile_set
Date: Mon, 18 Jul 2016 22:54:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1


On 18/07/2016 21:04, Sergey Fedorov wrote:
> How much performance do we really need and how much performance can we
> loose introducing such a flag? We should yet gain something reducing
> tb_lock contention. Maybe it is worthwhile to use a dedicated flag to
> keep code more clear? There's always a question of balance between code
> structure and maintainability (future of the TCG) on one hand and
> performance (present of the TCG) on the other hand.

Fair enough, can you send a patch that does this?  If we can do the
check only just before tb_add_jump, indeed there's no reason to do all
the mess with invalid state.

Paolo



reply via email to

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