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

[Xen-devel] Re: [Xen-changelog] SMP timer and irq fixes for 2.6. Merge x86/64 time.c with i386.



* BitKeeper Bot <riel@xxxxxxxxxxx> [2005-04-05 09:48]:
> ChangeSet 1.1452, 2005/04/05 13:07:37+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx
> 
>       SMP timer and irq fixes for 2.6. Merge x86/64 time.c with i386.
>       Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
> 
> 
> 
>  b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c  |   65 -
>  b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c     |  126 --
>  b/linux-2.6.11-xen-sparse/arch/xen/i386/mm/hypervisor.c   |    4 
>  b/linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/Makefile |    4 
>  linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/time.c     |  840 
> --------------
>  5 files changed, 91 insertions(+), 948 deletions(-)
<snip>

> @@ -472,7 +474,7 @@
>       while (!cpu_isset(smp_processor_id(), smp_commenced_mask))
>               rep_nop();
>       local_setup_timer();
> -     local_setup_debug();    /* XXX */
> +     ldebug_setup();
>       smp_intr_init();
>       local_irq_enable();
>       /*

All of the local_setup/_setup() routines are only run when a secondary
cpu is booted.  I didn't see that they were run on the boot cpu.  Is
that a problem?  I would have thought that you would want the timer
interrupt as well as the debug interrupt handler to be running on all
cpus.


--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx



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


 


Rackspace

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