Re: [Qemu-devel] [PATCH v2 2/4] exec: Atomic access to map_client_list

2015-03-13 Thread Paolo Bonzini
On 13/03/2015 02:38, Fam Zheng wrote: > Change map_client_list to QSLIST which supports atomic operations. > > There are two access points to map_client_list. One is > cpu_register_map_client, the other is cpu_notify_map_clients called > after releasing the global bounce buffer in address_space_

[Qemu-devel] [PATCH v2 2/4] exec: Atomic access to map_client_list

2015-03-12 Thread Fam Zheng
Change map_client_list to QSLIST which supports atomic operations. There are two access points to map_client_list. One is cpu_register_map_client, the other is cpu_notify_map_clients called after releasing the global bounce buffer in address_space_unmap. Each is now converted to a single atomic op