From: Andy Whitcroft <apw@shadowen.org>
To: Dave Hansen <haveblue@us.ibm.com>
Cc: Michael Ellerman <michael@ellerman.id.au>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, kravetz@us.ibm.com
Subject: Re: [PATCH] SPARSEMEM + NUMA can't handle unaligned memory regions?
Date: Tue, 09 May 2006 17:31:17 +0100 [thread overview]
Message-ID: <4460C3D5.1060905@shadowen.org> (raw)
In-Reply-To: <1147192006.23893.6.camel@localhost.localdomain>
Dave Hansen wrote:
> On Tue, 2006-05-09 at 15:28 +0100, Andy Whitcroft wrote:
>
>>+/*
>>+ * During early boot we need to record the nid from which we will
>>+ * later allocate the section mem_map. Encode this into the section
>>+ * pointer. Overload the section_mem_map with this information.
>>+ */
>
>
> Andy, this all looks pretty good. Although, it might be nice to
> document this a bit more.
>
> First, can you update the mem_section definition comment? It has a nice
> explanation of how we use section_mem_map, and it would be a shame to
> miss this use.
>
> Also, your comment says when we _record_ the nid information, but not
> that it is only _used_ during early boot. I think this is what Mike K.
> missed, and it might be good to clarify.
>
> How about something like this:
>
> /*
> * During early boot, before section_mem_map is used for an actual
> * mem_map, we use section_mem_map to store the section's NUMA
> * node. This keeps us from having to use another data structure. The
> * node information is cleared just before we store the real mem_map.
> */
Yep sounds very sane. Will update and resend -- best wait and see if it
fixes Michael find its works for him too :).
Thanks.
-apw
next prev parent reply other threads:[~2006-05-09 16:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-09 7:03 [PATCH] SPARSEMEM + NUMA can't handle unaligned memory regions? Michael Ellerman
2006-05-09 8:32 ` Andy Whitcroft
2006-05-09 9:11 ` Michael Ellerman
2006-05-09 10:24 ` Andy Whitcroft
2006-05-09 13:34 ` Andy Whitcroft
2006-05-09 14:28 ` Andy Whitcroft
2006-05-09 16:26 ` Dave Hansen
2006-05-09 16:31 ` Andy Whitcroft [this message]
2006-05-10 6:06 ` Michael Ellerman
2006-05-10 10:51 ` [PATCH] sparsemem record nid during memory present Andy Whitcroft
2006-05-09 16:05 ` [PATCH] SPARSEMEM + NUMA can't handle unaligned memory regions? mike kravetz
2006-05-09 16:14 ` Andy Whitcroft
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=4460C3D5.1060905@shadowen.org \
--to=apw@shadowen.org \
--cc=akpm@osdl.org \
--cc=haveblue@us.ibm.com \
--cc=kravetz@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michael@ellerman.id.au \
/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.