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

[Xen-ia64-devel] [PATCH] ia64/xen: don't roundup swiotlb slab count.

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] ia64/xen: don't roundup swiotlb slab count.
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 1 Sep 2008 18:11:25 +0900
Delivery-date: Mon, 01 Sep 2008 02:11:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
[IA64] ia64/xen: don't roundup swiotlb slab count.

ia64 counter part of 652:4dc80607377d.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r e86b8e0ac6fd arch/ia64/xen/swiotlb.c
--- a/arch/ia64/xen/swiotlb.c   Thu Aug 21 10:36:07 2008 +0100
+++ b/arch/ia64/xen/swiotlb.c   Mon Sep 01 16:38:48 2008 +0900
@@ -152,10 +152,6 @@
                io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE);
        }
 
-#ifdef CONFIG_XEN
-       if (is_running_on_xen())
-               io_tlb_nslabs = roundup_pow_of_two(io_tlb_nslabs);
-#endif
        /*
         * Get IO TLB memory from the low pages
         */
@@ -221,10 +217,6 @@
                io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE);
        }
 
-#ifdef CONFIG_XEN
-       if (is_running_on_xen())
-               io_tlb_nslabs = roundup_pow_of_two(io_tlb_nslabs);
-#endif
        /*
         * Get IO TLB memory from the low pages
         */

-- 
yamahata

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH] ia64/xen: don't roundup swiotlb slab count., Isaku Yamahata <=