From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761150AbZFJVMS (ORCPT ); Wed, 10 Jun 2009 17:12:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755913AbZFJVMI (ORCPT ); Wed, 10 Jun 2009 17:12:08 -0400 Received: from hera.kernel.org ([140.211.167.34]:53981 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755608AbZFJVMH (ORCPT ); Wed, 10 Jun 2009 17:12:07 -0400 Message-ID: <4A30218E.9080300@kernel.org> Date: Wed, 10 Jun 2009 14:11:42 -0700 From: Yinghai Lu User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Ingo Molnar CC: Pekka J Enberg , torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, cl@linux-foundation.org, hannes@cmpxchg.org, mpm@selenic.com, npiggin@suse.de Subject: Re: [GIT PULL] Early boot SLAB for 2.6.31 References: <20090610210026.GA2346@elte.hu> In-Reply-To: <20090610210026.GA2346@elte.hu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ingo Molnar wrote: > * Pekka J Enberg wrote: > >> Hi Linus, >> >> Here are the core patches for enabling slab before the scheduler initializes >> itself in the boot sequence. I added slab fallback support to the bootmem >> allocator so that we don't need a flag day for switching to early slab. >> >> I have tested this series on x86-64 with SLAB, SLUB, and SLOB. Note: the >> following harmless warning appears at boot: >> >> [ 0.000000] ------------[ cut here ]------------ >> [ 0.000000] WARNING: at mm/bootmem.c:535 alloc_arch_preferred_bootmem+0x31/0x56() >> [ 0.000000] Hardware name: >> [ 0.000000] Modules linked in: >> [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.30 #472 >> [ 0.000000] Call Trace: >> [ 0.000000] [] ? alloc_arch_preferred_bootmem+0x31/0x56 >> [ 0.000000] [] warn_slowpath_common+0x7c/0xa9 >> [ 0.000000] [] warn_slowpath_null+0x14/0x16 >> [ 0.000000] [] alloc_arch_preferred_bootmem+0x31/0x56 >> [ 0.000000] [] ___alloc_bootmem_nopanic+0x3f/0xc9 >> [ 0.000000] [] ___alloc_bootmem+0x11/0x3a >> [ 0.000000] [] __alloc_bootmem+0xb/0xd >> [ 0.000000] [] sched_init+0x43/0x4ee >> [ 0.000000] [] start_kernel+0x1cc/0x3aa >> [ 0.000000] [] x86_64_start_reservations+0xaa/0xae >> [ 0.000000] [] x86_64_start_kernel+0xe1/0xe8 >> [ 0.000000] ---[ end trace 4eaa2a86a8e2da22 ]--- > > Yeah, i got this too: > > [ 0.004000] spurious 8259A interrupt: IRQ7. > [ 0.004000] ------------[ cut here ]------------ > [ 0.004000] WARNING: at mm/bootmem.c:537 alloc_arch_preferred_bootmem+0x40/0x7e() > [ 0.004000] Hardware name: System Product Name > [ 0.004000] Modules linked in: > [ 0.004000] Pid: 0, comm: swapper Not tainted 2.6.30-tip-02102-g994fdea-dirty #52083 > [ 0.004000] Call Trace: > [ 0.004000] [] ? alloc_arch_preferred_bootmem+0x40/0x7e > [ 0.004000] [] warn_slowpath_common+0x8d/0xd0 > [ 0.004000] [] warn_slowpath_null+0x27/0x3d > [ 0.004000] [] alloc_arch_preferred_bootmem+0x40/0x7e > [ 0.004000] [] ? vprintk+0x2d6/0x31b > [ 0.004000] [] ___alloc_bootmem_nopanic+0x4e/0xec > [ 0.004000] [] ___alloc_bootmem+0x20/0x61 > [ 0.004000] [] ? default_spin_lock_flags+0x1e/0x36 > [ 0.004000] [] __alloc_bootmem+0x1e/0x34 > [ 0.004000] [] vgacon_scrollback_startup+0x3d/0xa4 > [ 0.004000] [] ? native_io_delay+0xd/0x58 > [ 0.004000] [] vgacon_startup+0x38f/0x3be > [ 0.004000] [] ? early_idt_handler+0x0/0x71 > [ 0.004000] [] con_init+0x2e/0x246 > [ 0.004000] [] ? early_idt_handler+0x0/0x71 > [ 0.004000] [] console_init+0x28/0x50 > [ 0.004000] [] ? native_irq_enable+0xb/0xc > [ 0.004000] [] start_kernel+0x20e/0x35b > [ 0.004000] [] ? early_idt_handler+0x0/0x71 > [ 0.004000] [] ? early_idt_handler+0x0/0x71 > [ 0.004000] [] x86_64_start_reservations+0xb9/0xd4 > [ 0.004000] [] ? __init_begin+0x0/0x140 > [ 0.004000] [] x86_64_start_kernel+0x104/0x127 > [ 0.004000] ---[ end trace a7919e7f17c0a725 ]--- > [ 0.004000] Console: colour VGA+ 80x25 > [ 0.004000] console handover: boot [earlyser0] -> real [ttyS0] > > box booted up fine otherwise. > git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-2.6-yinghai.git last 10 or so. YH