WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel][PATCH] Put guest physical translation into VHPT

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel][PATCH] Put guest physical translation into VHPT
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Wed, 07 Jun 2006 08:12:48 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Jun 2006 07:13:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2BF508F394C196468CCBEC031320DCDF0116FEBE@pdsmsx405>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OSLO R&D
References: <2BF508F394C196468CCBEC031320DCDF0116FEBE@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2006-06-07 at 16:34 +0800, Xu, Anthony wrote:
> diff -r 4da439f89524 xen/arch/ia64/vmx/vmx_phy_mode.c
> --- a/xen/arch/ia64/vmx/vmx_phy_mode.c  Wed Jun 07 15:25:31 2006 +0800
> +++ b/xen/arch/ia64/vmx/vmx_phy_mode.c  Wed Jun 07 16:03:12 2006 +0800
> @@ -132,6 +132,7 @@ physical_itlb_miss(VCPU *vcpu, u64 vadr)
>   *      vec=1, itlb miss
>   *      vec=2, dtlb miss
>   */
> + /*
>  void
>  physical_tlb_miss(VCPU *vcpu, u64 vadr, u64 vec)
>  { 

Hi Anthony,

  Please don't comment out code like this to disable it.  It's easy to
miss when reading the code and easy to break by adding a comment to the
function.  I would prefer that we delete dead code when it's replaced
(that's what revision control is for), but if you must keep it, at least
#if it out.  If you could include removal of the commented out function
right above this addition in your next patch, I'd appreciate it.
Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>