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] NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ is notreg

Isaku Yamahata writes:
 > On Mon, Jan 29, 2007 at 05:09:47PM +0900, Kouya SHIMURA wrote:
 > > I tried it by means of setting tlbflush_clock to huge value.
 > 
 > Could you send the patch?
 > It is the good idea to stress tlbflush by setting so by default.

Here is my patch for test. I was just curious what happens.
by default?, I don't think it's a good idea.

diff -r 1faf482f119c xen/arch/ia64/xen/flushtlb.c
--- a/xen/arch/ia64/xen/flushtlb.c      Fri Jan 26 14:19:37 2007 -0700
+++ b/xen/arch/ia64/xen/flushtlb.c      Mon Jan 29 19:01:30 2007 +0900
@@ -34,7 +34,7 @@
 #define WRAP_MASK (0x000003FFU)
 #endif
 
-volatile u32 tlbflush_clock = 1U; /* 1 greater than tlbflush_time. */
+volatile u32 tlbflush_clock = 0xffff0000U; /* 1 greater than tlbflush_time. */
 DEFINE_PER_CPU(volatile u32, tlbflush_time);
 
 u32

Thanks,
Kouya


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