WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 1/4] xen: I/O Resource Accountant - Support Files
From: Ryan <hap9@xxxxxxxxxxxxxx>
Date: Wed, 10 May 2006 16:19:44 -0400
Delivery-date: Wed, 10 May 2006 13:20:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 1/4] xen: I/O Resource Accountant - Support Files, Ryan <=