From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Julien Grall <julien.grall@arm.com>,
sstabellini@kernel.org, dario.faggioli@citrix.com,
xen-devel@lists.xenproject.org
Subject: Re: CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738
Date: Fri, 15 Sep 2017 15:50:19 -0400 [thread overview]
Message-ID: <20170915195019.GE31227@char.us.oracle.com> (raw)
In-Reply-To: <20170915184809.GC31227@char.us.oracle.com>
.snip..
> (XEN) Loading dom0 DTB to 0x0000000017e00000-0x0000000017e08265
> (XEN) init_domheap_pages: 0xb87b1->0xb87bc
> (XEN) init_heap_pages: 0xb87b1 -> 0xb87bc
> (XEN) init_domheap_pages: 0xb88f1->0xb98ae
> (XEN) init_heap_pages: 0xb88f1 -> 0xb98ae <- so the memory is from here
>
> (XEN) Scrubbing Free RAM on 1 nodes using 8 CPUs
> (XEN) Initial low memory virq threshold set at 0x4000 pages.
> (XEN) Scrubbing Free RAM on 1 nodes using 8 CPUs
I expanded this a bit to include:
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) NODE0 start=0x0 pages=579306, max_page=0xc0000
(XEN) NODE0: #0 #1 #2 #3 #4 #5 #6 #7 (total=8)
(XEN) NODE0 start=0x0, per_cpu=72413, rem=2, end=0x8d6ea
^^^^^^^^ that is the end of memory, but
0xb98ae > 0x8d6ae.
end = min(node_start_pfn(i) + node_spanned_pages(i), max_page);
0 0x8D6EA 0xc0000
Oh:
/* XXX: implement NUMA support */
#define node_spanned_pages(nid) (total_pages)
<facepalm>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-09-15 19:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 23:55 CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738 Konrad Rzeszutek Wilk
2017-09-12 0:45 ` Boris Ostrovsky
2017-09-13 0:01 ` Konrad Rzeszutek Wilk
2017-09-13 1:19 ` Boris Ostrovsky
2017-09-13 15:32 ` Konrad Rzeszutek Wilk
2017-09-13 18:05 ` Boris Ostrovsky
2017-09-13 18:25 ` Julien Grall
2017-09-13 18:49 ` Boris Ostrovsky
2017-09-14 21:26 ` Konrad Rzeszutek Wilk
2017-09-14 21:39 ` Boris Ostrovsky
2017-09-15 18:48 ` Konrad Rzeszutek Wilk
2017-09-15 19:20 ` Boris Ostrovsky
2017-09-15 19:50 ` Konrad Rzeszutek Wilk [this message]
2017-09-15 20:28 ` Julien Grall
2017-09-13 7: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=20170915195019.GE31227@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=boris.ostrovsky@oracle.com \
--cc=dario.faggioli@citrix.com \
--cc=julien.grall@arm.com \
--cc=sstabellini@kernel.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).