Re: WARNING: at mm/bootmem.c:535 alloc_arch_preferred_bootmem

From: Christian Kujau
Date: Tue Jun 30 2009 - 06:09:03 EST


On Tue, 30 Jun 2009, Pekka Enberg wrote:
> I think you're the first one to report this. The warning is harmless but
> the following patch should fix things up. Thanks!

Yes, your patch makes the warning go away, Thanks!

But, I think the patch description should read:

> Fixes the following boot-time warning:
> ------------[ cut here ]------------
> WARNING: at mm/bootmem.c:535 alloc_arch_preferred_bootmem+0x27/0x45()
> Modules linked in:
> Pid: 0, comm: swapper Not tainted 2.6.30 #1
> Call Trace:
> [<ffffffff8102d6e3>] ? warn_slowpath_common+0x73/0xb0
> [<ffffffff810210d9>] ? pvclock_clocksource_read+0x49/0x90
> [<ffffffff812e522f>] ? alloc_arch_preferred_bootmem+0x27/0x45
> [<ffffffff812e5761>] ? ___alloc_bootmem_nopanic+0x39/0xc9
> [<ffffffff812e57fa>] ? ___alloc_bootmem+0x9/0x2f
> [<ffffffff812e9e21>] ? xen_init_IRQ+0x25/0x61
> [<ffffffff812d69ee>] ? start_kernel+0x1b5/0x29e
> ---[ end trace 4eaa2a86a8e2da22 ]---
[...]

(I myself forgot to put this warning into my initial message too)


Thanks for the fast response and the fix!

Christian.
--
BOFH excuse #65:

system needs to be rebooted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/