Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

RE: [Xen-devel] Scheduler portability problem

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Scheduler portability problem
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Wed, 9 Mar 2005 12:40:19 -0800
Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 09 Mar 2005 20:41:18 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUkhtuW+p0gypnmSvCXdpoeFE0yRgAYPYCw
Thread-topic: [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

<Prev in Thread] Current Thread [Next in Thread>