[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EDDF41E.8070200@oracle.com>
Date: Tue, 06 Dec 2011 18:53:18 +0800
From: ANNIE LI <annie.li@...cle.com>
To: "xen-devel@...ts.xensource.com" <xen-devel@...ts.xensource.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
"jeremy@...p.org" <jeremy@...p.org>
CC: Ian Campbell <Ian.Campbell@...rix.com>,
Paul Durrant <paul.durrant@...rix.com>,
Kurt Hackel <Kurt.Hackel@...cle.com>
Subject: xen: patches for supporting sub-page and transitive grants
Hi
Following two patches introduce and implement interfaces for sub-page
and transitive grants, and they are based on linux-next branch of
linux/kernel/git/konrad/xen.git(3.2.0-rc2+). Sub-page and transitive
grants are new types of grant table V2.
Descriptions for those patches:
Through sub-page grant table interfaces, a domain can grant another
domain access to a range of bytes within a page, and Xen will then
prevent the grantee domain accessing outside that range. For obvious
reasons, it isn't possible to map these grant references, and domains
are expected to use the grant copy hypercall instead.
Through transitive grant interfaces, a domain can create grant
reference which redirects to another grant reference, so that any
attempt to access the first grant reference will be redirected to the
second one. This is used to implement receiver-side copy on
inter-domain traffic: rather than copying the packet in dom0, dom0
creates a transitive grant referencing the original transmit buffer, and
passes that to the receiving domain.
Diff:
drivers/xen/grant-table.c | 74
+++++++++++++++++++++++++++++++++++++++++++++
include/xen/grant_table.h | 19 +++++++++++
2 files changed, 93 insertions(+), 0 deletions(-)
Shortlog:
Annie Li (2):
xen/granttable: Support sub-page grants
xen/granttable: Support transitive grants
Thanks
Annie
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists