From: George Dunlap <george.dunlap@citrix.com>
To: Meng Xu <mengxu@cis.upenn.edu>, xen-devel@lists.xen.org
Cc: george.dunlap@eu.citrix.com, dario.faggioli@citrix.com,
xumengpanda@gmail.com, Haoran Li <naroahlee@gmail.com>
Subject: Re: [PATCH v5] xen: rtds: only tickle non-already tickled CPUs
Date: Tue, 29 Aug 2017 14:43:20 +0100 [thread overview]
Message-ID: <8b30d01e-f00e-a1d2-1570-b629d0638bbb@citrix.com> (raw)
In-Reply-To: <1501726432-13142-1-git-send-email-mengxu@cis.upenn.edu>
On 08/03/2017 03:13 AM, Meng Xu wrote:
> When more than one idle VCPUs that have the same PCPU as their
> previous running core invoke runq_tickle(), they will tickle the same
> PCPU. The tickled PCPU will only pick at most one VCPU, i.e., the
> highest-priority one, to execute. The other VCPUs will not be
> scheduled for a period, even when there is an idle core, making these
> VCPUs unnecessarily starve for one period.
>
> Therefore, always make sure that we only tickle PCPUs that have not
> been tickled already.
>
> Signed-off-by: Haoran Li <naroahlee@gmail.com>
> Signed-off-by: Meng Xu <mengxu@cis.upenn.edu>
> Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Committed.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
prev parent reply other threads:[~2017-08-29 13:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-03 2:13 [PATCH v5] xen: rtds: only tickle non-already tickled CPUs Meng Xu
2017-08-29 13:43 ` George Dunlap [this message]
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=8b30d01e-f00e-a1d2-1570-b629d0638bbb@citrix.com \
--to=george.dunlap@citrix.com \
--cc=dario.faggioli@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=mengxu@cis.upenn.edu \
--cc=naroahlee@gmail.com \
--cc=xen-devel@lists.xen.org \
--cc=xumengpanda@gmail.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).