Re: [Qemu-devel] [PATCH 16/22] tcg: keep a list of TCGContext's

2017-07-12 Thread Alex Bennée
Emilio G. Cota writes: > Before we make TCGContext thread-local. Really? Not allocated for each thread that needs it? > Once that is done, iterating > over all TCG contexts will be quite useful; for instance we > will need it to gather profiling info from each TCGContext. How often will we ne

Re: [Qemu-devel] [PATCH 16/22] tcg: keep a list of TCGContext's

2017-07-09 Thread Richard Henderson
On 07/08/2017 09:50 PM, Emilio G. Cota wrote: Before we make TCGContext thread-local. Once that is done, iterating over all TCG contexts will be quite useful; for instance we will need it to gather profiling info from each TCGContext. A possible alternative would be to keep an array of TCGContex

[Qemu-devel] [PATCH 16/22] tcg: keep a list of TCGContext's

2017-07-09 Thread Emilio G. Cota
Before we make TCGContext thread-local. Once that is done, iterating over all TCG contexts will be quite useful; for instance we will need it to gather profiling info from each TCGContext. A possible alternative would be to keep an array of TCGContext pointers. However this option however is not t