Ryan
2006-May-10 20:19 UTC
[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@epoch.ncsc.mil> --- 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(+) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel