On Tue, May 22, 2007 at 07:32:28PM -0600, Alex Williamson wrote:
Even with that fix, my system hangs at the xfree(fw_tables) call near
the end of this chunk. If I skip that xfree(), we hang at the next call
to xfree. Looks like we corrupted memory somewhere, but I haven't found
it yet.
Thanks for debugging and sorry for those bugs.
Although I reviewed the patch, I've not found memory corruption yet.
I attached my current clean up patch for those who want to debug it.
In this case NUM_MEM_DESCS should be very small since it's only adding
the descriptors we add for xen and the rest is dynamically sized based
on the number of entries in the MDT provided by firmware. Thanks,
I'll postpone reducing NUM_MEM_DESCS until memory corruption fix.