From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jonathan Creekmore <jonathan.creekmore@gmail.com>,
xen-devel@lists.xenproject.org
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
Dario Faggioli <dario.faggioli@citrix.com>
Subject: Re: [PATCH v4 5/5] sched: Use the auto-generated list of schedulers
Date: Sat, 9 Jan 2016 18:28:54 +0000 [thread overview]
Message-ID: <56915166.10907@citrix.com> (raw)
In-Reply-To: <1452288166-43501-6-git-send-email-jonathan.creekmore@gmail.com>
On 08/01/16 21:22, Jonathan Creekmore wrote:
> diff --git a/xen/common/schedule.c b/xen/common/schedule.c
> index 2f98a48..91e53c1 100644
> --- a/xen/common/schedule.c
> +++ b/xen/common/schedule.c
> @@ -64,20 +64,10 @@ static void poll_timer_fn(void *data);
> DEFINE_PER_CPU(struct schedule_data, schedule_data);
> DEFINE_PER_CPU(struct scheduler *, scheduler);
>
> -static const struct scheduler *schedulers[] = {
> -#ifdef CONFIG_SCHED_CREDIT
> - &sched_credit_def,
> -#endif
> -#ifdef CONFIG_SCHED_CREDIT2
> - &sched_credit2_def,
> -#endif
> -#ifdef CONFIG_SCHED_ARINC653
> - &sched_arinc653_def,
> -#endif
> -#ifdef CONFIG_SCHED_RTDS
> - &sched_rtds_def,
> -#endif
> -};
> +extern const struct scheduler *__start_schedulers_array[], *__end_schedulers_array[];
> +extern const size_t schedulers_array_size;
Is schedulers_array_size declared or used anywhere? I can't see any use.
~Andrew
next prev parent reply other threads:[~2016-01-09 18:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-08 21:22 [PATCH v4 0/5] Allow schedulers to be selectable through Kconfig Jonathan Creekmore
2016-01-08 21:22 ` [PATCH v4 1/5] build: Env var to enable expert config options Jonathan Creekmore
2016-01-08 21:22 ` [PATCH v4 2/5] build: Hook the schedulers into Kconfig Jonathan Creekmore
2016-01-09 14:52 ` Andrew Cooper
2016-01-09 17:50 ` Jonathan Creekmore
2016-01-09 18:08 ` Andrew Cooper
2016-01-09 22:47 ` Jonathan Creekmore
2016-01-11 13:59 ` Jan Beulich
2016-01-11 14:07 ` Jan Beulich
2016-01-11 15:10 ` Jonathan Creekmore
2016-01-11 15:43 ` Jan Beulich
2016-01-11 16:31 ` Doug Goldstein
2016-01-11 16:49 ` Jan Beulich
2016-01-11 17:17 ` Doug Goldstein
2016-01-08 21:22 ` [PATCH v4 3/5] build: Alloc space for sched list in the link file Jonathan Creekmore
2016-01-09 18:25 ` Andrew Cooper
2016-01-09 22:46 ` Jonathan Creekmore
2016-01-08 21:22 ` [PATCH v4 4/5] sched: Register the schedulers into the list Jonathan Creekmore
2016-01-08 21:22 ` [PATCH v4 5/5] sched: Use the auto-generated list of schedulers Jonathan Creekmore
2016-01-09 18:28 ` Andrew Cooper [this message]
2016-01-09 22:43 ` Jonathan Creekmore
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=56915166.10907@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=dario.faggioli@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=jonathan.creekmore@gmail.com \
--cc=xen-devel@lists.xenproject.org \
/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).