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

[Xen-devel] [PATCH 1/4] xen: I/O Resource Accountant - Support Files



This patch modifies the Makefiles to compile in the new code added in
the other patches. The rangesets were modified to support atomic moves
of ranges (so that a resource could be moved from one rangeset to
another without worry that a memory allocation might fail and leave a
range of resources untracked). In addition, Linux's red-black tree
implementation has been imported for use in reference counting pages of
I/O memory (are there any issues with copying Linux code directly into
Xen? I thought it would be ok since it looks like it has been done in
other places).

Signed-off-by: Ryan Wilson <hap9@xxxxxxxxxxxxxx>

---
 b/xen/common/rbtree.c      |  386 +++++++++++++++++++++++++++++++++++++++++++++
 b/xen/include/xen/rbtree.h |  141 ++++++++++++++++
 xen/arch/x86/Makefile      |    2
 xen/arch/x86/setup.c       |    4
 xen/common/Makefile        |    2
 xen/common/rangeset.c      |  198 +++++++++++++++++++++++
 xen/include/xen/rangeset.h |   12 +
 7 files changed, 745 insertions(+)

Attachment: support.patch
Description: Text 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®.