 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen: xen_sync_dirty_bitmap: attempt to fix SEGV
 Ian, --On 6 March 2013 14:16:22 +0000 Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote: 
 Thanks. So the good news is that it is xen_sync_dirty_bitmap that is the culprit, as we suspected. My question is: does the call to cpu_physical_memory_set_dirty occur within the "if (rc<0)" block, as I suspect, or does it occur within the "for (i = 0; i < ARRAY_SIZE(bitmap); i++)" block? (it's called in two places from xen_sync_dirty_bitmap) If the former, then I think the problem is that the address that cpu_physical_memory_set_dirty (and xen_modified_memory) takes needs to be passed through get_physmapping()->phys_offset before use, like the second case already does. In this case the patch I've just sent should (hopefully) work. If the latter, then something else is broken. -- Alex Bligh _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |