On 11/15/2016 06:41 AM, Pranith Kumar wrote:
Move the asserts in tb_lock/unlock() to DEBUG_LOCKING to avoid the
assert checking overhead in normal builds.

I know DEBUG_LOCKING already exists in translate-all.c, but I think both this and the old ought to be using CONFIG_DEBUG_TCG, so that it is regularly enabled.

At which point you might as well use tcg_debug_assert instead of these wrappers around g_assert.


r~

Reply via email to