From: Ingo Molnar <mingo@elte.hu>
To: Pekka J Enberg <penberg@cs.helsinki.fi>
Cc: 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,
yinghai@kernel.org
Subject: Re: [GIT PULL] Early boot SLAB for 2.6.31
Date: Wed, 10 Jun 2009 23:00:26 +0200 [thread overview]
Message-ID: <20090610210026.GA2346@elte.hu> (raw)
In-Reply-To: <Pine.LNX.4.64.0906102311230.30444@melkki.cs.Helsinki.FI>
* Pekka J Enberg <penberg@cs.helsinki.fi> 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] [<ffffffff809d62c3>] ? alloc_arch_preferred_bootmem+0x31/0x56
> [ 0.000000] [<ffffffff8025c304>] warn_slowpath_common+0x7c/0xa9
> [ 0.000000] [<ffffffff8025c345>] warn_slowpath_null+0x14/0x16
> [ 0.000000] [<ffffffff809d62c3>] alloc_arch_preferred_bootmem+0x31/0x56
> [ 0.000000] [<ffffffff809d6833>] ___alloc_bootmem_nopanic+0x3f/0xc9
> [ 0.000000] [<ffffffff809d68ce>] ___alloc_bootmem+0x11/0x3a
> [ 0.000000] [<ffffffff809d69a0>] __alloc_bootmem+0xb/0xd
> [ 0.000000] [<ffffffff809d21f9>] sched_init+0x43/0x4ee
> [ 0.000000] [<ffffffff809c0aae>] start_kernel+0x1cc/0x3aa
> [ 0.000000] [<ffffffff809c029a>] x86_64_start_reservations+0xaa/0xae
> [ 0.000000] [<ffffffff809c037f>] 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] [<ffffffff81d699bb>] ? alloc_arch_preferred_bootmem+0x40/0x7e
[ 0.004000] [<ffffffff81078931>] warn_slowpath_common+0x8d/0xd0
[ 0.004000] [<ffffffff8107899b>] warn_slowpath_null+0x27/0x3d
[ 0.004000] [<ffffffff81d699bb>] alloc_arch_preferred_bootmem+0x40/0x7e
[ 0.004000] [<ffffffff81079992>] ? vprintk+0x2d6/0x31b
[ 0.004000] [<ffffffff81d6a036>] ___alloc_bootmem_nopanic+0x4e/0xec
[ 0.004000] [<ffffffff81d6a0f4>] ___alloc_bootmem+0x20/0x61
[ 0.004000] [<ffffffff81053dc8>] ? default_spin_lock_flags+0x1e/0x36
[ 0.004000] [<ffffffff81d6a28b>] __alloc_bootmem+0x1e/0x34
[ 0.004000] [<ffffffff817971cf>] vgacon_scrollback_startup+0x3d/0xa4
[ 0.004000] [<ffffffff8103ad11>] ? native_io_delay+0xd/0x58
[ 0.004000] [<ffffffff813d3545>] vgacon_startup+0x38f/0x3be
[ 0.004000] [<ffffffff81d4e140>] ? early_idt_handler+0x0/0x71
[ 0.004000] [<ffffffff81d79275>] con_init+0x2e/0x246
[ 0.004000] [<ffffffff81d4e140>] ? early_idt_handler+0x0/0x71
[ 0.004000] [<ffffffff81d789aa>] console_init+0x28/0x50
[ 0.004000] [<ffffffff810530f5>] ? native_irq_enable+0xb/0xc
[ 0.004000] [<ffffffff81d4eead>] start_kernel+0x20e/0x35b
[ 0.004000] [<ffffffff81d4e140>] ? early_idt_handler+0x0/0x71
[ 0.004000] [<ffffffff81d4e140>] ? early_idt_handler+0x0/0x71
[ 0.004000] [<ffffffff81d4e2b2>] x86_64_start_reservations+0xb9/0xd4
[ 0.004000] [<ffffffff81d4e000>] ? __init_begin+0x0/0x140
[ 0.004000] [<ffffffff81d4e3d1>] 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.
Ingo
next prev parent reply other threads:[~2009-06-10 21:01 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-10 20:12 [GIT PULL] Early boot SLAB for 2.6.31 Pekka J Enberg
2009-06-10 20:32 ` Linus Torvalds
2009-06-10 20:30 ` Pekka Enberg
2009-06-10 20:43 ` Ingo Molnar
2009-06-10 20:47 ` Pekka Enberg
2009-06-10 20:50 ` Ingo Molnar
2009-06-10 20:57 ` Ingo Molnar
2009-06-10 20:58 ` Pekka Enberg
2009-06-10 21:07 ` Pekka Enberg
2009-06-11 0:54 ` Ingo Molnar
2009-06-10 21:00 ` Pekka J Enberg
2009-06-10 20:33 ` Linus Torvalds
2009-06-10 20:57 ` Pekka J Enberg
2009-06-11 11:17 ` [GIT PULL v2] " Pekka J Enberg
2009-06-11 11:35 ` Ingo Molnar
2009-06-11 11:40 ` Ingo Molnar
2009-06-11 11:42 ` Ingo Molnar
2009-06-11 11:48 ` Ingo Molnar
2009-06-11 11:56 ` Pekka Enberg
2009-06-11 11:49 ` Pekka J Enberg
2009-06-11 11:54 ` Ingo Molnar
2009-06-11 13:58 ` Christoph Lameter
2009-06-11 14:06 ` Pekka Enberg
2009-06-11 14:26 ` Christoph Lameter
2009-06-11 15:24 ` Pekka Enberg
2009-06-11 17:50 ` Yinghai Lu
2009-06-11 18:10 ` [GIT PULL v3] " Pekka J Enberg
2009-06-11 21:43 ` Ingo Molnar
2009-06-11 22:03 ` Ingo Molnar
2009-06-11 22:41 ` Yinghai Lu
2009-06-12 8:33 ` Pekka Enberg
2009-06-12 7:17 ` Ingo Molnar
2009-06-12 7:25 ` Li Zefan
2009-06-12 7:29 ` Pekka Enberg
2009-06-12 7:29 ` KAMEZAWA Hiroyuki
2009-06-12 7:33 ` Li Zefan
2009-06-12 7:51 ` Ingo Molnar
2009-06-11 23:14 ` Yinghai Lu
2009-06-12 8:37 ` Pekka Enberg
2009-06-10 21:00 ` Ingo Molnar [this message]
2009-06-10 20:57 ` [GIT PULL] " Pekka Enberg
2009-06-10 21:03 ` Yinghai Lu
2009-06-10 21:11 ` Yinghai Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090610210026.GA2346@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=cl@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=npiggin@suse.de \
--cc=penberg@cs.helsinki.fi \
--cc=torvalds@linux-foundation.org \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox