|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[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
  xmalloc-fixes.patch Description: Binary data
 
 _______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-devel] Mini-OS xmalloc and realloc patch,
J. Aaron Pendergrass <=
 |  |  | 
  
    |  |  |