[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC Patch v3 09/18] block-remus: fix memory leak
On Sep 5, 2014 5:15 AM, "Wen Congyang" <wency@xxxxxxxxxxxxxx> wrote: I am responding from my phone. So I don't have the code in hand to validate your claim. I think the merge function reuses the value block (write request) instead of doing a memcpy. In which case, this patch will be freeing the buffer that is queued for write. Is that right? > 2. When write requests is finished, replicated_write_callback() will Wasn't that done explicitly in the write req done function, where a free(buf) was introduced? (Vague recollection... I am not sure if I pushed that fix upstream either :( ) Either way, if you have a working Remus setup, can you confirm that this patch does not cause double free error? (Just this patch and no other Remus related fixes). > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |