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]
Date:	Tue, 22 May 2012 13:25:10 +1000
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	David Rientjes <rientjes@...gle.com>
Cc:	LKML <linux-kernel@...r.kernel.org>, linux-next@...r.kernel.org,
	ppc-dev <linuxppc-dev@...ts.ozlabs.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...e.hu>, "H. Peter Anvin" <hpa@...or.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Lee Schermerhorn <lee.schermerhorn@...com>,
	Linus <torvalds@...ux-foundation.org>
Subject: Re: linux-next: PowerPC boot failures in next-20120521

On Tue, 22 May 2012 13:03:54 +1000 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> On Mon, 21 May 2012 18:53:37 -0700 (PDT) David Rientjes <rientjes@...gle.com> wrote:
> >
> > Yeah, it's sched/numa since that's what introduced numa_init().  It does 
> > for_each_node() for each node and does a kmalloc_node() even though that 
> > node may not be online.  Slub ends up passing this node to the page 
> > allocator through alloc_pages_exact_node().  CONFIG_DEBUG_VM would have 
> > caught this and your config confirms its not enabled.
> > 
> > sched/numa either needs a memory hotplug notifier or it needs to pass 
> > NUMA_NO_NODE for nodes that aren't online.  Until we get the former, the 
> > following should fix it.
> > 
> > 
> > sched, numa: Allocate node_queue on any node for offline nodes
> > 
> > struct node_queue must be allocated with NUMA_NO_NODE for nodes that are 
> > not (yet) online, otherwise the page allocator has a bad zonelist.
> > 
> > Signed-off-by: David Rientjes <rientjes@...gle.com>
> 
> Thanks, that fixes it.
> 
> Tested-by: Stephen Rothwell <sfr@...b.auug.org.au>

And I will put that patch in linux-next until it (or something better)
appears.

-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ