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@epoch.ncsc.mil> --- b/xen/arch/x86/iomm.c | 282 +++++++++++++++++++++++++++++++++++++++++++++++ xen/include/asm-x86/mm.h | 1 2 files changed, 283 insertions(+) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel