[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] [PATCH] NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ is notregistered.



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.