|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[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(+)
 
 
support.patch 
Description: Text Data 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-devel] [PATCH 1/4] xen: I/O Resource Accountant - Support Files,
Ryan <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |