|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] Scheduler portability problem
Thanks! Please pull
bk://xen-ia64.bkbits.net/xeno-unstable-ia64.bk
to get the complementary changes for arch/ia64. (Note
that this doesn't fix the ia64 problem yet, just
ensures top of trunk compiles for ia64 and works the same
as before.)
> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
> Sent: Wednesday, March 09, 2005 2:06 AM
> To: Magenheimer, Dan (HP Labs Fort Collins)
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Scheduler portability problem
>
>
> On 8 Mar 2005, at 22:46, Magenheimer, Dan (HP Labs Fort
> Collins) wrote:
>
> > Bottom line: The current code in __enter_scheduler() does not easily
> > accommodate other architectures. I'll be taking a look at what it
> > will take to "fix" it, but wanted to open discussion first. I know
> > there are some that will say "just change the ia64 code"... because
> > of architectural constraints, this is far FAR more easily said than
> > done. And there are some that will say that mimicking Linux is
> > a mistake because XINL (Xen is not Linux). However, I believe this
> > is a case where leveraging the many many years of experience on many
> > many architectures (with said experience only documented in the code
> > itself) of Linux will benefit Xen portability in the long run (and,
> > in my case, in the short run).
>
> I've changed the tail of __enter_scheduler() to call a new
> arch-specific function context_switch(). This subsumes
> switch_to() and
> schedule_tail() so should give you the freedom to do what you require.
>
> -- Keir
>
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|