Re: [Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3

2006-08-23 Thread Atsushi SAKAI
The difference from TAKE2 Status I tested 2xDomU Linux Kernel Compile Test on 4xpCPU w/ credit scheduler. It passes more than 16h testing.(21h in real) Changes 1)migrate_timer for hlt_timer_fn is added for context_switch This makes correct pCPU work for timer. 2)To avoid soft lockup

Re: [Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3

2006-08-23 Thread Isaku Yamahata
Hi Atsushi. On Wed, Aug 23, 2006 at 05:48:15PM +0900, Atsushi SAKAI wrote: 1)migrate_timer for hlt_timer_fn is added for context_switch This makes correct pCPU work for timer. Is it necessary to call migrate_timer() every context switch instead of calling it right before

Re: [Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3

2006-08-22 Thread Isaku Yamahata
Hi Atsushi. On Tue, Aug 22, 2006 at 02:44:34PM +0900, Atsushi SAKAI wrote: As you pointed out, vcpu_pend_timer() is usually used as current. This problem does not occur. But, I am using vcpu_pend_timer in hlt_timer_fn with other vcpu. (This makes problem) hlt_timer_fn() doesn't call

Re: [Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3

2006-08-22 Thread Atsushi SAKAI
Hi, Isaku Previous TAKE2 uses [EMAIL PROTECTED] (this is one reason.) But logical Source code checks revealed soft lockup detecteted(10sec timer stops) in linux kernel causes from wrong vcpu_get_next_timer_ns value NOT VIRQ_ITC during idle-domain running. About vcpu_get_next_timer_ns In Take1,

Re: [Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3

2006-08-22 Thread Isaku Yamahata
On Tue, Aug 22, 2006 at 05:28:54PM +0900, Atsushi SAKAI wrote: So this patch does not need to add vcpu_pend_timer fixes. O.K. So the modification of vcpu_pend_timer() is unnecessary for the patch. But this should be fixed in sometime. Does you mean that the following hank is still needed?

[Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3

2006-08-21 Thread Atsushi SAKAI
This is a pal_halt_light emulation for domU TAKE3. Status I tested and passed 16h 4CPU DomUx2 continuous Linux Kernel Compile using this patch. To pass above test, I mainly changed 2 points(from previous TAKE2). If I test Previous TAKE2 with same configuration, DomU make a memory leak after 2-3

Re: [Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3

2006-08-21 Thread Isaku Yamahata
Hi Atsuhi. On Mon, Aug 21, 2006 at 08:38:33PM +0900, Atsushi SAKAI wrote: 2)The VIRQ_ITC cycle is destroyed in case vcpu migration occurred when vcpu_pend_timer runs (called by hlt_timer_fn) The VIRQ_ITC cycle is (simple writing) ia64_get_itc reaches domain_itm at Xen. send

Re: [Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3

2006-08-21 Thread Atsushi SAKAI
Hi, Isaku. Thank you for your comments. As you pointed out, vcpu_pend_timer() is usually used as current. This problem does not occur. But, I am using vcpu_pend_timer in hlt_timer_fn with other vcpu. (This makes problem) To avoid this issue 1)vcpu_pend_timer deletes vcpu option.(force to