[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH] Fix cpu online/offline bug: mce memory leak.
Hi, Keir, Fixing memory leak would be always good. But I don't agree this could fix the problem I observed. Yes, indeed, I observed the issue during stress test of cpu offline/online by offlining all cpus except CPU0 one by one and then bringing them back. In this case, with memory leak, after some time, xmalloc at onlining could hit a heap page that is formerly owned by domains, since usable Xen heap memory will be slowly used up. Without memory leak, xmalloc at onlining will be likely use the memory that is freed just by offlining. So it won't trigger this assertion.
But let us think a typical usage model, you will offline all LPs on a socket so that it can be later removed physically. Some other time, you will bring them back. Between offlining and onlining, there could be a time interval as long as one week and activities such as creating and killing many guests. How can we ensure that we won't meet this assertion at that time?
It is my understanding that this memory leak triggered the issue I raised but the issue itself can be triggered in many other ways. Please do correct me if I am wrong. Thanks!
Shan Haitao
2011/3/1 Keir Fraser <keir.xen@xxxxxxxxx> Some comments inline below. Overall a good patch to have, but needs some _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |