From: Matthew Daley <mattjd@gmail.com>
To: xen-devel@lists.xen.org
Cc: Matthew Daley <mattjd@gmail.com>, Keir Fraser <keir@xen.org>
Subject: [PATCH] gnttab: remove unused MAPTRACK_MAX_ENTRIES define
Date: Mon, 10 Jun 2013 19:08:03 +1200 [thread overview]
Message-ID: <1370848083-8748-1-git-send-email-mattjd@gmail.com> (raw)
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
reply other threads:[~2013-06-10 7:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1370848083-8748-1-git-send-email-mattjd@gmail.com \
--to=mattjd@gmail.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).