All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@citrix.com>
To: Dario Faggioli <dfaggioli@suse.com>, xen-devel@lists.xenproject.org
Subject: Re: [RFC PATCH v1 6/8] xen: sched: Credit2 group-scheduling: selecting next vcpu to run
Date: Wed, 21 Nov 2018 16:15:50 +0000	[thread overview]
Message-ID: <2ff3583a-d95a-9d76-8167-3cdfc256c6f8@citrix.com> (raw)
In-Reply-To: <153936627040.22652.3412756048515405697.stgit@wayrath>

On 10/12/18 6:44 PM, Dario Faggioli wrote:
> When chosing which vcpu to run next, on a CPU which is in a group where
> other vcpus are running already, only consider vcpus of the same domain
> (of those vcpus that are running already!).
> 
> This is as easy as, in runq_candidate(), while traversing the runqueue,
> skipping the vcpus that do not satisfy the group-scheduling constraints.
> 
> And now that such constraints are actually enforced, also add an ASSERT()
> that checks that we really respect them.
> 
> Signed-off-by: Dario Faggioli <dfaggioli@suse.com>

As a data point in the "number of tags" question:
1. my normal way of importing a series is to use `stg import` on a
single mbox file;
2. if something doesn't apply cleanly, I often fix it up and re-apply
using `-i` to say, "ignore already-applied-patches"
3. stgit seems to use the name of the patch to determine if the patch
has been applied or not
4. For 'name', it only uses the first four words it can see.

So, after fixing up some trivial porting issues in earlier patches, I
got this:

$ stg import -i --reject -M "/tmp/dariof.credit2-core-scheduling.rfc-v1"
Checking for changes in the working directory ... done
Ignoring already applied patch "xen-sched-credit2-during"
Ignoring already applied patch "xen-sched-credit2-avoid"
Ignoring already applied patch "xen-sched-credit2-show"
Ignoring already applied patch "xen-sched-credit2-generalize"
Ignoring already applied patch "xen-sched-credit2-group"
Ignoring already applied patch "xen-sched-credit2-group"
Ignoring already applied patch "xen-sched-credit2-group"
Ignoring already applied patch "xen-sched-credit2-group"
Now at patch "xen-sched-credit2-group"

That is, it only applied the first of the last four patches, because
they all look the same to it.

Obviously that's somewhat of a deficiency in stackgit, but it
demonstrates the weird issues you run into when your description line
has too many tags. :-)

I'll pull the branch from xenbits mentioned in the cover letter.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2018-11-21 16:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-12 17:43 [RFC PATCH v1 0/8] Series short description Dario Faggioli
2018-10-12 17:43 ` [RFC PATCH v1 1/8] xen: sched: Credit2: during scheduling, update the idle mask before using it Dario Faggioli
2018-10-12 17:44 ` [RFC PATCH v1 2/8] xen: sched: Credit2: avoid looping too much (over runqueues) during load balancing Dario Faggioli
2018-10-12 17:44 ` [RFC PATCH v1 3/8] xen: sched: Credit2: show runqueue id during runqueue dump Dario Faggioli
2018-10-12 17:44 ` [RFC PATCH v1 4/8] xen: sched: Credit2: generalize topology related bootparam handling Dario Faggioli
2018-10-12 17:44 ` [RFC PATCH v1 5/8] xen: sched: Credit2 group-scheduling: data structures Dario Faggioli
2018-10-12 17:44 ` [RFC PATCH v1 6/8] xen: sched: Credit2 group-scheduling: selecting next vcpu to run Dario Faggioli
2018-11-21 16:15   ` George Dunlap [this message]
2018-10-12 17:44 ` [RFC PATCH v1 7/8] xen: sched: Credit2 group-scheduling: tickling Dario Faggioli
2018-10-12 17:44 ` [RFC PATCH v1 8/8] xen: sched: Credit2 group-scheduling: anti-starvation measures Dario Faggioli
2018-11-07 17:58 ` [RFC PATCH v1 0/8] Series short description Dario Faggioli

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=2ff3583a-d95a-9d76-8167-3cdfc256c6f8@citrix.com \
    --to=george.dunlap@citrix.com \
    --cc=dfaggioli@suse.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.