diff options
author | cwc22@centipede.cl.cam.ac.uk <cwc22@centipede.cl.cam.ac.uk> | 2005-04-05 00:55:55 +0000 |
---|---|---|
committer | cwc22@centipede.cl.cam.ac.uk <cwc22@centipede.cl.cam.ac.uk> | 2005-04-05 00:55:55 +0000 |
commit | 2e2cd8b272d00749055c615bfa013c39771f8428 (patch) | |
tree | f55ad15f3df6e19b3b5a73e4928f5ae282f6d919 /xen/include/xen/grant_table.h | |
parent | 1f233cc3416104f1fef71df6f64a036153787196 (diff) | |
download | xen-2e2cd8b272d00749055c615bfa013c39771f8428.tar.gz xen-2e2cd8b272d00749055c615bfa013c39771f8428.tar.bz2 xen-2e2cd8b272d00749055c615bfa013c39771f8428.zip |
bitkeeper revision 1.1236.1.213 (4251e21boiMcVvsOm7kHtd1O51o1mA)
Dynamic sizing of a domain's grant map tracking table on demand.
Grant tables now default for block front/back communication.
Diffstat (limited to 'xen/include/xen/grant_table.h')
-rw-r--r-- | xen/include/xen/grant_table.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h index f37d6d4e56..c273eacada 100644 --- a/xen/include/xen/grant_table.h +++ b/xen/include/xen/grant_table.h @@ -66,7 +66,6 @@ typedef struct { } grant_mapping_t; #define MAPTRACK_GNTMAP_MASK 7 #define MAPTRACK_REF_SHIFT 3 -#define NR_MAPTRACK_ENTRIES (PAGE_SIZE / sizeof(grant_mapping_t)) /* Per-domain grant information. */ typedef struct { @@ -77,6 +76,8 @@ typedef struct { /* Mapping tracking table. */ grant_mapping_t *maptrack; unsigned int maptrack_head; + unsigned int maptrack_order; + unsigned int maptrack_limit; unsigned int map_count; /* Lock protecting updates to active and shared grant tables. */ spinlock_t lock; |