From mboxrd@z Thu Jan 1 00:00:00 1970 From: tgh Subject: question about grant table Date: Tue, 19 Jun 2007 09:19:26 +0800 Message-ID: <46772F1E.4060006@ncic.ac.cn> References: <1162913696.4141.28.camel@moonstone.uk.level5networks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1162913696.4141.28.camel@moonstone.uk.level5networks.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org hi I try to read the granttable code of xen,I am confused about some fields in the struct grant_table,such as struct grant_entry **shared; struct active_grant_entry **active; struct grant_mapping **maptrack; what are the functions for the three structures ? in the grant_table_create() function,each entry of three structures is allocated a page frame,is it right? if it is,when we try to use a grant page ,three pages are needed to be allocated for matadata,or how does it work? I am confused about it could you help me Thanks in advance