From: Ryan Harper <ryanh@us.ibm.com>
To: "Subrahmanian, Raj" <raj.subrahmanian@unisys.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Numa=on broken?
Date: Mon, 7 May 2007 15:43:25 -0500 [thread overview]
Message-ID: <20070507204325.GA27552@us.ibm.com> (raw)
In-Reply-To: <94C8C9E8B25F564F95185BDA64AB05F60504AE37@USTR-EXCH5.na.uis.unisys.com>
* Subrahmanian, Raj <raj.subrahmanian@unisys.com> [2007-05-07 15:25]:
> Ryan,
> >> > Ryan,
> >> > I did check out the mail discussion where you encountered
> >and fixed
> >> > this.
> >> > I am seeing this again on 15009, unstable and in 15021 3.1. rc7.
> >> > I have included the debug messages in both runs.
> >>
> >> Hrm, well, we need to see which node the request is failing in so we
> >> can figure out how to initialize the heap. I'm attaching a
> >patch that
> >> should hopefully dump out which node the memory request is
> >failing in.
> >>
> >> Last time, it was the xmalloc() in xen/common/page_alloc.c in
> >> init_heap_pages().
> >>
> >> Give this patch a spin and email me the output.
> >
> >Here is one that actually compiles.
> Here's the output..
> Unstable tree. Changeset 15009.
Do you have the SRAT table information, we need to know if you have any
memory in node0. I believe this code relies on the xenheap residing in
node0.
The call chain is likely:
xen/arch/x86/setup.c:calls init_xenheap_pages()
xen/common/page_alloc.c: init_heap_pages()
if the memory being added to the heap belongs to node1, the structure
is dynamically allocated using xmalloc() which will request a page
from the heap which is no memory is already in the heap, we fail.
That's what this looks like. You can confirm this by adding some debug
to the init_heap_pages() function in xen/common/page_alloc.c.
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@us.ibm.com
prev parent reply other threads:[~2007-05-07 20:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <B05D2E415E8CC94897BB44233D14EE6805A01ED6@USTR-EXCH5.na.uis.unisys.com>
2007-05-03 19:25 ` Re: [Xen-staging] [xen-3.1-testing] xend: Fix use ofPIFIsPhysical (takes no arguments) Krysan, Susan
2007-05-03 20:29 ` Keir Fraser
2007-05-03 22:29 ` Numa=on broken? Subrahmanian, Raj
2007-05-03 23:10 ` Ryan Harper
2007-05-04 2:39 ` Subrahmanian, Raj
2007-05-04 6:23 ` Subrahmanian, Raj
2007-05-04 13:33 ` Ryan Harper
2007-05-04 13:38 ` Ryan Harper
2007-05-04 17:32 ` Subrahmanian, Raj
2007-05-07 20:24 ` Subrahmanian, Raj
2007-05-07 20:43 ` Ryan Harper [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=20070507204325.GA27552@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=raj.subrahmanian@unisys.com \
--cc=xen-devel@lists.xensource.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 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.