From mboxrd@z Thu Jan 1 00:00:00 1970 From: tgh Subject: question about gmfn_to_mfn() Date: Fri, 23 Mar 2007 11:31:29 +0800 Message-ID: <46034A11.3040201@ncic.ac.cn> References: <45A21B32.1050705@swisscenter.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45A21B32.1050705@swisscenter.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 read the code of balloon part, I am confused about the meaning and function of " mfn = gmfn_to_mfn(d, gmfn);" what is gmfn and and what is mfn? and" #define gmfn_to_mfn(_d, gpfn) mfn_x(sh_gfn_to_mfn(_d, gpfn))" it seems that gmfn and gpfn is the same or what is the trick in it ? I am confused about it could you help me Thanks in advance