From: ben-linux@fluff.org (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: too much memory for node
Date: Mon, 25 Jan 2010 11:58:13 +0000 [thread overview]
Message-ID: <20100125115813.GT26562@trinity.fluff.org> (raw)
In-Reply-To: <20100120161053.GD27507@n2100.arm.linux.org.uk>
On Wed, Jan 20, 2010 at 04:10:53PM +0000, Russell King - ARM Linux wrote:
> On Wed, Jan 20, 2010 at 04:05:25PM +0000, Ben Dooks wrote:
> > On Wed, Jan 20, 2010 at 03:55:10PM +0000, Russell King - ARM Linux wrote:
> > > On Wed, Jan 20, 2010 at 03:34:11PM +0000, Ben Dooks wrote:
> > > > I've been looking at support for a new machine type where the
> > > > current system is using DISCONTIGMEM as the 1G memory map has
> > > > 4x256M RAM ranges which may not all be filled.
> > >
> > > Firstly, use sparsemem, unless you intentionally want to spend more
> > > cycles in the kernel.
> >
> > Ok, any idea if that will fix the problem in this case?
>
> It _may_ do, because it doesn't have the concept of NUMA nodes (which
> is what discontigmem is all about.)
>
> > Should I send a patch to detect bad DISCONTIGMEM setup? I think that
> > a check of PHYS_TO_PFN((start+end) != PHYS_TO_PFN(start)) should be
> > safe in all cases?
>
> Just move away from discontigmem completely. Sparsemem can do everything
> we need on ARM at a lesser cost. As I say above, discontigmem is really
> for NUMA platforms, and ARM is not a NUMA platform. No one on ARM should
> be going anywhere near discontigmem.
Thanks, we seem to have working sparsemem support now so I will try and
ensure that is what gets sumitted.
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
prev parent reply other threads:[~2010-01-25 11:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 15:34 too much memory for node Ben Dooks
2010-01-20 15:55 ` Russell King - ARM Linux
2010-01-20 16:05 ` Ben Dooks
2010-01-20 16:10 ` Russell King - ARM Linux
2010-01-25 11:58 ` Ben Dooks [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=20100125115813.GT26562@trinity.fluff.org \
--to=ben-linux@fluff.org \
--cc=linux-arm-kernel@lists.infradead.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).