Re: [Qemu-devel] [PATCH 3/6] cpu: Reorder cpu->as and cpu->thread_id initialization

2015-03-05 Thread Igor Mammedov
On Thu, 5 Mar 2015 12:38:47 -0300 Eduardo Habkost wrote: > Instead of initializing cpu->as and cpu->thread_id while holding > cpu_list_lock(), initialize it earlier. > > This allows the code handling cpu_index and global CPU list to be > isolated from the rest. > > Signed-off-by: Eduardo Habko

[Qemu-devel] [PATCH 3/6] cpu: Reorder cpu->as and cpu->thread_id initialization

2015-03-05 Thread Eduardo Habkost
Instead of initializing cpu->as and cpu->thread_id while holding cpu_list_lock(), initialize it earlier. This allows the code handling cpu_index and global CPU list to be isolated from the rest. Signed-off-by: Eduardo Habkost --- exec.c | 9 + 1 file changed, 5 insertions(+), 4 deletion