All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Dario Faggioli <dario.faggioli@citrix.com>,
	xen-devel@lists.xenproject.org
Cc: George Dunlap <george.dunlap@eu.citrix.com>
Subject: Re: [PATCH 4/7] xen: get rid of the SEDF scheduler
Date: Mon, 29 Jun 2015 12:56:07 +0100	[thread overview]
Message-ID: <55913257.2040300@citrix.com> (raw)
In-Reply-To: <20150626161913.29181.50416.stgit@Solace.station>

On 26/06/15 17:19, Dario Faggioli wrote:
> --- a/xen/include/public/domctl.h
> +++ b/xen/include/public/domctl.h
> @@ -324,7 +324,6 @@ DEFINE_XEN_GUEST_HANDLE(xen_domctl_max_vcpus_t);
>  
>  /* XEN_DOMCTL_scheduler_op */
>  /* Scheduler types. */
> -#define XEN_SCHEDULER_SEDF     4

Please instead use:

/* #define XEN_SCHEDULER_SEDF     4 (Removed) */

To help keep bits of the history, and reduce the likelyhood of
accidental reuse.

>  #define XEN_SCHEDULER_CREDIT   5
>  #define XEN_SCHEDULER_CREDIT2  6
>  #define XEN_SCHEDULER_ARINC653 7
> @@ -337,13 +336,6 @@ struct xen_domctl_scheduler_op {
>      uint32_t sched_id;  /* XEN_SCHEDULER_* */
>      uint32_t cmd;       /* XEN_DOMCTL_SCHEDOP_* */
>      union {
> -        struct xen_domctl_sched_sedf {
> -            uint64_aligned_t period;
> -            uint64_aligned_t slice;
> -            uint64_aligned_t latency;
> -            uint32_t extratime;
> -            uint32_t weight;
> -        } sedf;
>          struct xen_domctl_sched_credit {
>              uint16_t weight;
>              uint16_t cap;
> diff --git a/xen/include/public/trace.h b/xen/include/public/trace.h
> index 5211ae7..36be196 100644
> --- a/xen/include/public/trace.h
> +++ b/xen/include/public/trace.h
> @@ -75,7 +75,6 @@
>  /* Per-scheduler IDs, to identify scheduler specific events */
>  #define TRC_SCHED_CSCHED   0
>  #define TRC_SCHED_CSCHED2  1
> -#define TRC_SCHED_SEDF     2

Same here.

~Andrew

>  #define TRC_SCHED_ARINC653 3
>  #define TRC_SCHED_RTDS     4
>  
> diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h
> index 7cc25c6..dbe7cab 100644
> --- a/xen/include/xen/sched-if.h
> +++ b/xen/include/xen/sched-if.h
> @@ -165,7 +165,6 @@ struct scheduler {
>      void         (*tick_resume)     (const struct scheduler *, unsigned int);
>  };
>  
> -extern const struct scheduler sched_sedf_def;
>  extern const struct scheduler sched_credit_def;
>  extern const struct scheduler sched_credit2_def;
>  extern const struct scheduler sched_arinc653_def;
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2015-06-29 11:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 16:18 [PATCH 0/7] get rid of the SEDF scheduler Dario Faggioli
2015-06-26 16:18 ` [PATCH 1/7] libxl: " Dario Faggioli
2015-06-26 16:18 ` [PATCH 2/7] tools: python: get rid of the SEDF scheduler bindings Dario Faggioli
2015-06-26 16:19 ` [PATCH 3/7] libxc: get rid of the SEDF scheduler Dario Faggioli
2015-06-26 16:19 ` [PATCH 4/7] xen: " Dario Faggioli
2015-06-29 11:56   ` Andrew Cooper [this message]
2015-06-29 13:29     ` Dario Faggioli
2015-06-26 16:19 ` [PATCH 5/7] xen: kill sched_sedf.c Dario Faggioli
2015-06-26 16:19 ` [PATCH 6/7] xl: get rid of the SEDF scheduler Dario Faggioli
2015-06-26 16:19 ` [PATCH 7/7] docs: " Dario Faggioli
2015-07-02 15:56 ` [PATCH 0/7] " George Dunlap

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=55913257.2040300@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=dario.faggioli@citrix.com \
    --cc=george.dunlap@eu.citrix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.