Re: [PATCH 3/5] Migration thread mutex

2011-08-29 Thread Marcelo Tosatti
On Sat, Aug 27, 2011 at 02:09:46PM -0400, Umesh Deshpande wrote: > This patch implements migrate_ram mutex, which protects the RAMBlock list > traversal in the migration thread during the transfer of a ram from their > addition/removal from the iothread. > > Note: Combination of iothread mutex and

Re: [PATCH 3/5] Migration thread mutex

2011-08-29 Thread Umesh Deshpande
On 08/29/2011 05:04 AM, Stefan Hajnoczi wrote: On Sat, Aug 27, 2011 at 7:09 PM, Umesh Deshpande wrote: This patch implements migrate_ram mutex, which protects the RAMBlock list traversal in the migration thread during the transfer of a ram from their addition/removal from the iothread. Note: C

Re: [PATCH 3/5] Migration thread mutex

2011-08-29 Thread Stefan Hajnoczi
On Sat, Aug 27, 2011 at 7:09 PM, Umesh Deshpande wrote: > This patch implements migrate_ram mutex, which protects the RAMBlock list > traversal in the migration thread during the transfer of a ram from their > addition/removal from the iothread. > > Note: Combination of iothread mutex and migratio

[PATCH 3/5] Migration thread mutex

2011-08-27 Thread Umesh Deshpande
This patch implements migrate_ram mutex, which protects the RAMBlock list traversal in the migration thread during the transfer of a ram from their addition/removal from the iothread. Note: Combination of iothread mutex and migration thread mutex works as a rw-lock. Both mutexes are acquired while