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
