xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: xen-devel@lists.xenproject.org, JBeulich@suse.com,
	andrew.cooper3@citrix.com, tim@xen.org,
	dario.faggioli@citrix.com, julien.grall@linaro.org
Subject: [PATCH v5] Spread boot time scrubbing across available CPUs.
Date: Wed,  4 Jun 2014 09:29:35 -0400	[thread overview]
Message-ID: <1401888576-30027-1-git-send-email-konrad.wilk@oracle.com> (raw)

Please see v5 of this patchset. It should have all review comments addressed.

I did change the algorithm for the NUMA-node-but-no-CPUs code. It now
picks the closest NUMA node CPUs to do the scrubbing. If that node
does not have any CPUs it will continue on until it finds something - or
it falls back on the first node. And if the first node has no CPUs either
- it will just pick the BSP and call it a day. That hopefully should take
care of it running on broken hardware.

I've also cross compiled it on ARM but hadn't yet run the emulator to 
make sure it works right. I figured I would do that once the x86 folks
are comfortable with the patch.

Thank you everybody for reviewing the patch over and over.

 docs/misc/xen-command-line.markdown |  10 ++
 xen/common/page_alloc.c             | 208 ++++++++++++++++++++++++++++++++----
 xen/include/asm-arm/numa.h          |   1 +
 3 files changed, 201 insertions(+), 18 deletions(-)

             reply	other threads:[~2014-06-04 13:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04 13:29 Konrad Rzeszutek Wilk [this message]
2014-06-04 13:29 ` [PATCH] Xen: Spread boot time page scrubbing across all available CPU's (v5) Konrad Rzeszutek Wilk
2014-06-04 13:35   ` Andrew Cooper
2014-06-04 13:52     ` Konrad Rzeszutek Wilk
2014-06-05 10:09   ` Tim Deegan
2014-06-05 11:22   ` Jan Beulich
2014-06-05 17:49     ` Konrad Rzeszutek Wilk

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=1401888576-30027-1-git-send-email-konrad.wilk@oracle.com \
    --to=konrad.wilk@oracle.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=dario.faggioli@citrix.com \
    --cc=julien.grall@linaro.org \
    --cc=tim@xen.org \
    --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 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).