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

Re: [Xen-ia64-devel] SMP Status (domain0 is working)



Le Jeudi 29 Septembre 2005 19:24, Magenheimer, Dan (HP Labs Fort Collins) a 
écrit :
> Excellent work!
>
> Since you are redo-ing the patch for a more recent version
> of Xen, here's some feedback from eyeballing the patch.
>
> - It looks like there are two places where the kernel registers
>   are re-assigned to the cpu_vars?  Perhaps you could add a
>   routine in xensetup.c for this code and call it rather than
>   have the code inline in both places?
No, it has just been moved.

> - For files in arch/ia64/linux-xen, please ensure that every
>   change from the equivalent linux file is marked with
>   an ifdef XEN, even temporary debug lines.  (You can mark
>   those for example with "#if defined(XEN) && defined(MY_DEBUG)").
>   It looks like you have done this, but its often hard to
>   tell just from looking at the patch.  This makes it MUCH
>   easier to maintain (for example when we move forward from
>   basing on 2.6.13 to 2.6.14).
Ok, I will do this.

> - I see some new code handling the idle domain.  Were you able
>   to get the sedf scheduler working with this code or are you
>   still using the bvt scheduler?  If you got sedf working, could
>   you submit that first as a separate patch?
No, I have not yet tried with sedf.  This is the next item on my TODO list!

> - Since Xen is no longer using kr's except at startup, the
>   DBG_FAULT code you re-enabled in ivt.S could be dangerous.
>   It's probably OK now because Linux/ia64 isn't using kr2
>   (unless someone builds a xenlinux with DBG_FAULT on!) but
>   it would probably be good to add a comment, or just
>   change DBG_FAULT to use the cpu__var instead.
Yes, this should be disabled.

I am currently trying to make a more recent Xen working with my patch.  It 
seems OK in UP (with CONFIG_SMP), but not with 2 processors.  An itm
interrupt is lost and this locks the cpu.

Tristan.


_______________________________________________
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®.