From: Dario Faggioli <dario.faggioli@citrix.com>
To: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Cc: Ian Jackson <Ian.Jackson@citrix.com>,
"JBeulich@suse.com" <JBeulich@suse.com>
Subject: Re: [PATCH] xen: postpone updating domains' node affinity when removing a CPU from a cpupool
Date: Wed, 11 Mar 2015 10:32:46 +0000 [thread overview]
Message-ID: <1426069963.21405.2.camel@citrix.com> (raw)
In-Reply-To: <20150309164901.11859.95044.stgit@Solace.station>
[-- Attachment #1.1: Type: text/plain, Size: 1129 bytes --]
On Mon, 2015-03-09 at 17:49 +0100, Dario Faggioli wrote:
> 93be8285 ("update domU's node-affinity on the cpupool_unassign_cpu()
> path") does the right thing, but does it too early. In fact, it
> is necessary to call domain_update_node_affinity() when a pCPU is
> removed from a cpupool, but that must happen after the pCPU is
> really gone from there.
>
> More specifically, it is important that the update happens not
> before cpu_disable_scheduler() is called on that pCPU, to give
> that function the chance to fixup the vCPU affinity of the
> domains residing in the cpupool, if that is necessary.
>
> Calling it earlier, as it happens before this change, causes
> (although only in rather awkward circumstances), the following:
>
> (XEN) ****************************************
> (XEN) Panic on CPU 0:
> (XEN) Assertion '!cpumask_empty(dom_cpumask)' failed at domain.c:460
> (XEN) ****************************************
>
Oh, and this affects 4.5, so, when we'll get there, a backport is in
order, IMO (and I'll file the request as appropriate as soon as this
will be in).
Regards,
Dario
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-03-11 10:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-09 16:49 [PATCH] xen: postpone updating domains' node affinity when removing a CPU from a cpupool Dario Faggioli
2015-03-11 10:32 ` Dario Faggioli [this message]
2015-03-11 15:01 ` George Dunlap
2015-03-11 16:04 ` Dario Faggioli
2015-03-12 13:45 ` [PATCH] xen: avoid updating node affinity twice " Dario Faggioli
2015-03-12 14:51 ` Jan Beulich
2015-03-12 15:52 ` Dario Faggioli
2015-03-13 11:15 ` George Dunlap
2015-03-12 14:52 ` George Dunlap
2015-03-12 15:56 ` 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=1426069963.21405.2.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=Ian.Jackson@citrix.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.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.