[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Mini-OS xmalloc and realloc patch



Hi,
The attached patch addresses a few bugs in minios' xmalloc and realloc routines
Specifically:
- xmalloc currently faults if xmalloc_new_page fails (presumably due to OOM). - realloc treats xmalloc_hdr.size as the size of just the data region rather than
           the total size of data region + headers + padding.

The patch was tested and applies cleanly against xen-unstable changeset 47136dbb972d

Thanks,
-Aaron

Attachment: xmalloc-fixes.patch
Description: Binary data


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.