From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755836Ab3EFTGU (ORCPT ); Mon, 6 May 2013 15:06:20 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:32848 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755543Ab3EFTGT (ORCPT ); Mon, 6 May 2013 15:06:19 -0400 Date: Mon, 6 May 2013 12:06:11 -0700 From: "Paul E. McKenney" To: Yinghai Lu Cc: Ingo Molnar , Linux Kernel Mailing List Subject: Re: RCU init call bootmem allocation after slub us ready. Message-ID: <20130506190611.GE3501@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13050619-3620-0000-0000-0000025B05B8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 06, 2013 at 11:53:56AM -0700, Yinghai Lu wrote: > [ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, > CPUs=160, Nodes=8 > [ 0.000000] Hierarchical RCU implementation. > [ 0.000000] RCU restricting CPUs from NR_CPUS=4096 to nr_cpu_ids=160. > [ 0.000000] ------------[ cut here ]------------ > [ 0.000000] WARNING: at mm/nobootmem.c:234 > ___alloc_bootmem_nopanic+0x3a/0x7d() > [ 0.000000] Modules linked in: > [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted > 3.9.0-yh-10495-gfc7ffbc-dirty #1543 > [ 0.000000] Hardware name: Oracle Corporation Sun Fire X4800 M2 / > , BIOS 15013200 04/19/2012 > [ 0.000000] 0000000000000009 ffffffff82a01e58 ffffffff8209dc61 > ffffffff82a01e98 > [ 0.000000] ffffffff8108a9d0 0000000000000000 0000000000000000 > 0000000000000200 > [ 0.000000] ffffffffffffffff 0000000000000040 0000000000000000 > ffffffff82a01ea8 > [ 0.000000] Call Trace: > [ 0.000000] [] dump_stack+0x19/0x1b > [ 0.000000] [] warn_slowpath_common+0x70/0xa0 > [ 0.000000] [] warn_slowpath_null+0x1a/0x20 > [ 0.000000] [] ___alloc_bootmem_nopanic+0x3a/0x7d > [ 0.000000] [] __alloc_bootmem+0x12/0x38 > [ 0.000000] [] alloc_bootmem_cpumask_var+0x1a/0x21 > [ 0.000000] [] rcu_init+0x66/0x283 > [ 0.000000] [] ? perf_event_init+0x136/0x15f > [ 0.000000] [] start_kernel+0x24a/0x423 > [ 0.000000] [] ? repair_env_string+0x5e/0x5e > [ 0.000000] [] ? __memblock_reserve+0x81/0x89 > [ 0.000000] [] x86_64_start_reservations+0x2f/0x31 > [ 0.000000] [] x86_64_start_kernel+0x1f4/0x1fc > [ 0.000000] ---[ end trace 53ae8bb075006d8f ]--- Do you have commit fa0f93cd6a (rcu: Don't allocate bootmem from rcu_init())? If not, could you please try applying it? Thanx, Paul