xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gnttab: remove unused MAPTRACK_MAX_ENTRIES define
@ 2013-06-10  7:08 Matthew Daley
  0 siblings, 0 replies; only message in thread
From: Matthew Daley @ 2013-06-10  7:08 UTC (permalink / raw)
  To: xen-devel; +Cc: Matthew Daley, Keir Fraser

The maximum number of grant mappings is given by
max_nr_maptrack_frames() as of commit 5ce8faf, not this unused define.

Signed-off-by: Matthew Daley <mattjd@gmail.com>
---
 xen/include/xen/grant_table.h |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h
index 0820da1..5941191 100644
--- a/xen/include/xen/grant_table.h
+++ b/xen/include/xen/grant_table.h
@@ -64,9 +64,6 @@ struct grant_mapping {
     domid_t  domid;         /* granting domain */
 };
 
-/* Fairly arbitrary. [POLICY] */
-#define MAPTRACK_MAX_ENTRIES 16384
-
 /* Per-domain grant information. */
 struct grant_table {
     /* Table size. Number of frames shared with guest */
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-10  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-10  7:08 [PATCH] gnttab: remove unused MAPTRACK_MAX_ENTRIES define Matthew Daley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).