From: George Dunlap <George.Dunlap@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] If the 'sched' parameter is unrecognized, choose the first scheduler
Date: Mon, 15 Feb 2010 16:18:01 +0000 [thread overview]
Message-ID: <de76405a1002150818u5daa855crf86e0541574347db@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
If the "sched" parameter is not recognized, chose the first scheduler
in the list, rather than the last one.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
[-- Attachment #2: 20100215-sched-default-first-scheduler.diff --]
[-- Type: text/x-patch, Size: 426 bytes --]
diff -r 275e563ef9b0 xen/common/schedule.c
--- a/xen/common/schedule.c Mon Feb 15 14:03:57 2010 +0000
+++ b/xen/common/schedule.c Mon Feb 15 14:04:38 2010 +0000
@@ -932,7 +932,10 @@
}
if ( schedulers[i] == NULL )
+ {
printk("Could not find scheduler: %s\n", opt_sched);
+ ops = *schedulers[0];
+ }
printk("Using scheduler: %s (%s)\n", ops.name, ops.opt_name);
SCHED_OP(init);
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2010-02-15 16:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=de76405a1002150818u5daa855crf86e0541574347db@mail.gmail.com \
--to=george.dunlap@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).