All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@citrix.com>
To: Dario Faggioli <dario.faggioli@citrix.com>,
	xen-devel@lists.xenproject.org
Cc: Wei Liu <wei.liu2@citrix.com>,
	Tianyang Chen <tiche@seas.upenn.edu>,
	Julien Grall <julien.grall@arm.com>,
	Meng Xu <mengxu@cis.upenn.edu>,
	Varun.Swara@arm.com, Steve Capper <Steve.Capper@arm.com>
Subject: Re: [PATCH for 4.7 0/4] Assorted scheduling fixes
Date: Wed, 4 May 2016 16:53:47 +0100	[thread overview]
Message-ID: <572A1B0B.3080202@citrix.com> (raw)
In-Reply-To: <146231184906.25631.6550047090421454264.stgit@Solace.fritz.box>

On 03/05/16 22:46, Dario Faggioli wrote:
> Hi,
> 
> This small series contains some bugfixes for various schedulers. They're all
> bugfixes, so I think all should be considered for 4.7. Here's some more
> detailed analysis.
> 
> Patch 1 and 3 are for Credit2. Patch 1 is a lot more important, as we have an
> ASSERT triggering without it. Patch 2 is behavioral fixing, which I believe it
> is important, but at least does not make anything explode.
> 
> Patch 2 fixes another ASSERT, in case a pCPU fails to come up. This is what
> Julien reported here:
> 
>  https://www.mail-archive.com/xen-devel@lists.xen.org/msg65918.html
> 
> Julien, the patch is very very similar to the one attached to one of my reply
> in that thread, but I had to change some small bits... Can you please re-test
> it?
> 
> Patch 4 makes the code of RTDS look consistent with what we state in patch 2,
> so it's also important. Furthermore, it does fix a bug (although, again, not
> one that would splat Xen) as, without it, we may have a timer used by the RTDS
> scheduler bound to the pCPU of another cpupool with another scheduler. That
> would introduce some unwanted and very difficult to recognize interference
> between different schedulers in different pool, and should hence be avoided.
> 
> So this was awesomeness; about risks:
>  - patch 1 is very small, super-self contained (zero impact outside of Credit2
>    code) and it fixes an actual and 100% reproducible bug;
>  - patch 2 is also totally self-contained and it can't possibly cause problems
>    to anything else than to what it is trying to fix (Credit2's load balancer).
>    It doesn't cure any ASSERT or Oops, so it's less interesting, but given the
>    low risk --also considering that Credit2 will still be considered
>    experimental in 4.7-- I think it can go in;
>  - patch 3 is bigger, and a bit more complex. Note, however, that most of its
>    content is code comments and ASSERT-s; it is self contained to scheduling
>    (in the sense that it impacts all schedulers, but "just" them), and fixes
>    a situation that, AFAIUI, is important for ARM;

I think you reordered patch 2 and 3 between the time you wrote this and
the time you posted it. :-)

>  - patch 4 may again look not that critical. But, the fact that someone wanting
>    to experiment with RTDS in a cpupool would face the kind of interference
>    between independent cpupools that the patch cures is, I think, something
>    worthwhile trying to avoid. Besides, it is again quite self contained, as
>    it's indeed only relevant for RTDS (which is also going to be called
>    experimental for 4.7).

FWIW I agree with the rationale here.

 -George


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-05-04 15:54 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 21:46 [PATCH for 4.7 0/4] Assorted scheduling fixes Dario Faggioli
2016-05-03 21:46 ` [PATCH for 4.7 1/4] xen: sched: avoid spuriously re-enabling IRQs in csched2_switch_sched() Dario Faggioli
2016-05-04  8:48   ` Jan Beulich
2016-05-04  9:08     ` Dario Faggioli
2016-05-04 15:11   ` George Dunlap
2016-05-04 15:58     ` Dario Faggioli
2016-05-04 17:05       ` George Dunlap
2016-05-04 17:21         ` Dario Faggioli
2016-05-04 17:34           ` George Dunlap
2016-05-06 13:21             ` Dario Faggioli
2016-05-06 13:48               ` Wei Liu
2016-05-09 14:42               ` George Dunlap
2016-05-03 21:46 ` [PATCH for 4.7 2/4] xen: sched: fix killing an uninitialized timer in free_pdata Dario Faggioli
2016-05-04 15:25   ` George Dunlap
2016-05-03 21:46 ` [PATCH for 4.7 3/4] xen: credit2: fix 2 (minor) issues in load tracking logic Dario Faggioli
2016-05-04 15:38   ` George Dunlap
2016-05-03 21:46 ` [PATCH for 4.7 4/4] xen: adopt .deinit_pdata and improve timer handling Dario Faggioli
2016-05-04 15:51   ` George Dunlap
2016-05-04 15:53     ` Meng Xu
2016-05-06 23:05       ` Dario Faggioli
2016-05-07 21:19   ` Meng Xu
2016-05-08  3:12     ` Meng Xu
2016-05-09  8:07       ` Juergen Gross
2016-05-09 13:22     ` Dario Faggioli
2016-05-09 14:08       ` Meng Xu
2016-05-09 14:52         ` Dario Faggioli
2016-05-09 14:58           ` Meng Xu
2016-05-09 14:46     ` George Dunlap
2016-05-09 14:58       ` Wei Liu
2016-05-09 15:35         ` George Dunlap
2016-05-04  1:26 ` [PATCH for 4.7 0/4] Assorted scheduling fixes Konrad Rzeszutek Wilk
2016-05-04  9:06   ` Dario Faggioli
2016-05-05 12:00     ` Julien Grall
2016-05-05 12:38       ` Dario Faggioli
2016-05-04 15:53 ` George Dunlap [this message]
2016-05-04 16:04 ` Wei Liu
2016-05-07 21:23   ` Meng Xu

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=572A1B0B.3080202@citrix.com \
    --to=george.dunlap@citrix.com \
    --cc=Steve.Capper@arm.com \
    --cc=Varun.Swara@arm.com \
    --cc=dario.faggioli@citrix.com \
    --cc=julien.grall@arm.com \
    --cc=mengxu@cis.upenn.edu \
    --cc=tiche@seas.upenn.edu \
    --cc=wei.liu2@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.