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/
Home Products Support Community News


[Xen-devel] [PATCH 2/4] xen: I/O Memory Reference Counting

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 2/4] xen: I/O Memory Reference Counting
From: Ryan <hap9@xxxxxxxxxxxxxx>
Date: Wed, 10 May 2006 16:19:56 -0400
Delivery-date: Wed, 10 May 2006 13:21:02 -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 adds support for reference counting pages of I/O memory using
a red-black tree. Pages are only tracked when needed (there's no reason
to account for every page in a 32-bit or 64-bit address space!). This is
important for being able to identify when a page of memory is still
in-use by a domain before giving it to another domain.

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

 b/xen/arch/x86/iomm.c    |  282 +++++++++++++++++++++++++++++++++++++++++++++++
 xen/include/asm-x86/mm.h |    1
 2 files changed, 283 insertions(+)

Attachment: iomm.patch
Description: Text Data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 2/4] xen: I/O Memory Reference Counting, Ryan <=