Re: [Qemu-devel] [PATCH v4 42/43] tcg: introduce regions to split code_gen_buffer

2017-07-21 Thread Richard Henderson
On 07/20/2017 07:59 PM, Emilio G. Cota wrote: This is groundwork for supporting multiple TCG contexts. The naive solution here is to split code_gen_buffer statically among the TCG threads; this however results in poor utilization if translation needs are different across TCG threads. What we do

[Qemu-devel] [PATCH v4 42/43] tcg: introduce regions to split code_gen_buffer

2017-07-20 Thread Emilio G. Cota
This is groundwork for supporting multiple TCG contexts. The naive solution here is to split code_gen_buffer statically among the TCG threads; this however results in poor utilization if translation needs are different across TCG threads. What we do here is to add an extra layer of indirection, a