Re: [kvm-devel] [PATCH] convert init_rmode_tss to slots_lock

2008-03-19 Thread Avi Kivity
Marcelo Tosatti wrote: init_rmode_tss was forgotten during the conversion from mmap_sem to slots_lock. Applied, thanks. There are several sites reading the slots data without taking slots_lock, including tdp_page_fault. I'll be sending a patch to move acquision to vcpu_run

[kvm-devel] [PATCH] convert init_rmode_tss to slots_lock

2008-03-18 Thread Marcelo Tosatti
init_rmode_tss was forgotten during the conversion from mmap_sem to slots_lock. There are several sites reading the slots data without taking slots_lock, including tdp_page_fault. I'll be sending a patch to move acquision to vcpu_run as suggested by Avi later today. INFO: task

Re: [kvm-devel] [PATCH] convert init_rmode_tss to slots_lock

2008-03-18 Thread Izik Eidus
Marcelo Tosatti wrote: init_rmode_tss was forgotten during the conversion from mmap_sem to slots_lock. yup, good catch. There are several sites reading the slots data without taking slots_lock, including tdp_page_fault. I'll be sending a patch to move acquision to vcpu_run