[Cbe-oss-dev] [HACK] cell: fake NUMA properties

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Apr 12 21:43:07 EST 2006


On Wed, 2006-04-12 at 13:39 +0200, Arnd Bergmann wrote:
> On Wednesday 12 April 2006 13:36, Benjamin Herrenschmidt wrote:
> > On Wed, 2006-04-12 at 12:37 +0200, Arnd Bergmann wrote:
> > > This is a hack to make it possible to test NUMA behaviour on Cell Blades
> > > without the proper device tree data. We simply try to add all required
> > > properties to the tree if they are not already there.
> > > 
> > > This patch is highly nonportably and generally just a bad idea. Don't
> > > even think about using it on production systems ;-).
> > 
> > Please do that in prom_init instead :) Easier place to add properties
> > and at least this way, they'll survive accross kexec... 
> 
> I tried that first and it did not work like I expected it to.
> Honestly I hope that nobody will use this hack any more at the point
> where we try kexec

np. as long as it's not there to survive...

Ben.





More information about the cbe-oss-dev mailing list