| To: | xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [Xen-devel] [PATCH 1/4] xen: I/O Resource Accountant - Support Files |
| From: | Ryan <hap9@xxxxxxxxxxxxxx> |
| Date: | 2006年5月10日 16:19:44 -0400 |
| Delivery-date: | 2006年5月10日 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> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] [PATCH 0/4] xen: I/O Resource Accountant , Ryan |
|---|---|
| Next by Date: | [Xen-devel] [PATCH 2/4] xen: I/O Memory Reference Counting , Ryan |
| Previous by Thread: | [Xen-devel] [PATCH 0/4] xen: I/O Resource Accountant , Ryan |
| Next by Thread: | [Xen-devel] [PATCH 2/4] xen: I/O Memory Reference Counting , Ryan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |