]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/granttable: Support sub-page grants
authorAnnie Li <annie.li@oracle.com>
Mon, 12 Dec 2011 10:14:42 +0000 (18:14 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Feb 2012 19:06:56 +0000 (14:06 -0500)
commit81bae3ce9d8b76ef9eca92eba6070a7fafe5250b
treea8654906a08e74158a0c2339f428e61dfdb09677
parente3b2fc05ebfd3994a65d7d4cd64b24fd05fae0d2
xen/granttable: Support sub-page grants

- They can't be used to map the page (so can only be used in a GNTTABOP_copy
  hypercall).
- It's possible to grant access with a finer granularity than whole pages.
- Xen guarantees that they can be revoked quickly (a normal map grant can
  only be revoked with the cooperation of the domain which has been granted
  access).

Signed-off-by: Annie Li <annie.li@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/grant-table.c
include/xen/grant_table.h