WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Adding new scheduler in XEN 3.4.0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Adding new scheduler in XEN 3.4.0
From: Pankaj Parakh <me.pankajparakh@xxxxxxxxx>
Date: Sat, 24 Oct 2009 15:18:13 +0530
Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Delivery-date: Sat, 24 Oct 2009 02:50:37 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=no1E4d0hTab4Gi1uY0dzxMgbkdCUWOYEGUq4Nh3jA+8=; b=MsS7GUthooitXK3B+3gpfrhclR3ybe41aJoFeL/PsNB4rJ1bVJYVph6zrqx5VQBiOV EqBFsVdq3Ouh3rc8D9XzHmTnPi4qJ/qwKq3hnJRfSVZE9Q40lLbvPy+JHNdvXeXklkNs 8GGNbcNBe38uxp77OVxccT5rjQE4mci4O2f/E=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=BkoU8MsZ8G9SWi5l3B229Y/gOx5jFbf/N8SRB0WOrKyTWf0y/XcdEU9snVKeHz43vN 4Y25W78aWzt2wK0YT2jcUIsGfLgi5OPy+VWGIVwsvNNfxgOFzC9nKA7plqXtaoaiFqCN YTfcwiXBvhRAGYhrMolG7yJaT4Re3U1XbH5Fw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I was trying to add scheduler in Xen 3.4.0, and there is some problem with the procedure I added, I know that because I have created a copy of credit scheduler named it as credit_2 (file attached), changed the functions and struct declarations name (as there was conflict with existing credit scheduler), and then did the following:

1. Added a entry for the same in schedule.c file.
2. Added an entry for it in <xensrc>/xen/common/Makefile

I am able to compile and install XEN after that using 'make xen' & 'make install-xen' command but when I boot with the copy of credit scheduler i.e. credit_2. the screen blacks out and system hangs.
I faced same problem while adding my round robin scheduler, till now I had thought that there is a problem in the rr scheduler but now I am sure there is a problem with the procedure.

Please help me in this regard.

Attachment: sched_credit_2.c
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>