diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-12-21 18:45:43 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-12-21 18:45:43 +0100 |
commit | db74dfce16491931f6baf5c7e5d13653f05e4dad (patch) | |
tree | f02b1468382304758d5a1facf658690a6269f346 /xen/include/xen/grant_table.h | |
parent | d9af6ba2e09354f72a9b99d47e06ea0169ce073b (diff) | |
download | xen-db74dfce16491931f6baf5c7e5d13653f05e4dad.tar.gz xen-db74dfce16491931f6baf5c7e5d13653f05e4dad.tar.bz2 xen-db74dfce16491931f6baf5c7e5d13653f05e4dad.zip |
Fix gnttab_release_mappings -- it doesn't need to drop
page refcnts for host mappings as they are already
destroyed by put_page_from_l1e(). Also call
gnttab_release_mappings later (after destroying
page-table references) and from common code rather than
arch/x86.
Also a few other misc gnttab cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/grant_table.h')
-rw-r--r-- | xen/include/xen/grant_table.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h index df5e3d4c54..2661101546 100644 --- a/xen/include/xen/grant_table.h +++ b/xen/include/xen/grant_table.h @@ -84,24 +84,12 @@ typedef struct { spinlock_t lock; } grant_table_t; -/* Start-of-day system initialisation. */ -void grant_table_init( - void); - /* Create/destroy per-domain grant table context. */ int grant_table_create( struct domain *d); void grant_table_destroy( struct domain *d); -/* - * Check that the given grant reference (rd,ref) allows 'ld' to transfer - * ownership of a page frame. If so, lock down the grant entry. - */ -int -gnttab_prepare_for_transfer( - struct domain *rd, struct domain *ld, grant_ref_t ref); - /* Domain death release of granted mappings of other domains' memory. */ void gnttab_release_mappings( |