lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1273876488.21352.643.camel@pasglop>
Date:	Sat, 15 May 2010 08:34:48 +1000
From:	Benjamin Herrenschmidt <benh@...nel.crashing.org>
To:	Yinghai Lu <yinghai.lu@...cle.com>
Cc:	David Miller <davem@...emloft.net>, mingo@...e.hu,
	tglx@...utronix.de, hpa@...or.com, akpm@...ux-foundation.org,
	torvalds@...ux-foundation.org, hannes@...xchg.org,
	linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [PATCH 11/35] lmb: Add find_memory_core_early()

On Fri, 2010-05-14 at 09:44 -0700, Yinghai Lu wrote:
> On 05/14/2010 01:30 AM, David Miller wrote:
> > From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> > Date: Fri, 14 May 2010 18:19:47 +1000
> >
> >   
> >> OK, I'll have to let Davem deal with the fine point of the sparc bits,
> >> but I think basically sparc has CONFIG_ARCH_POPULATES_NODE_MAP set, but
> >> the way it's NUMA affinity works, the early_node_map[] is crap, you
> >> cannot rely on the ranges in there.
> >>     
> >   
> 
> > Right, we can't use early_node_map[] on sparc, because the NUMA
> > mappings are far too granular to use that kind of representation.
> >   
> good to know.
> 
> early_node_map[] doesn't have enough slot?

I think that's the case. sparc doesn't override MAX_ACTIVE_REGIONS,
which means you get the default which is 256 or 50 per node depending
on MAX_NUMNODES. My understanding is that this may not be enough.

Dave, what does it look like in practice tho ?

Cheers,
Ben.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ