Re: [GIT PULL] scheduler fixes

From: Yinghai Lu
Date: Mon May 25 2009 - 21:52:21 EST


trying to put setup_percpu_areas() after mem_init/kmem_cache_init...

http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-2.6-yinghai.git;a=summary
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-2.6-yinghai.git

based on tip/master, on AMD 8 sockets, NUMA + SLUB.

got

[ 49.962048] Freeing unused kernel memory: 2564k freed
INIT: [ 49.984095] BUG: unable to handle kernel paging request at ffff888687090860
[ 49.988020] IP: [<ffffffff81135249>] __slab_free+0x61/0x2ee
[ 49.988020] PGD a067 PUD 0
[ 49.988020] Oops: 0002 [#1] SMP
[ 49.988020] last sysfs file:
[ 49.988020] CPU 0
[ 49.988020] Modules linked in:
[ 49.988020] Pid: 1, comm: init Not tainted 2.6.30-rc7-tip-01641-g4c0d14e-dirty #285 Sun Fire X4600 M2
[ 49.988020] RIP: 0010:[<ffffffff81135249>] [<ffffffff81135249>] __slab_free+0x61/0x2ee
[ 49.988020] RSP: 0018:ffff888021be5a08 EFLAGS: 00010046
[ 49.988020] RAX: 00000000cccccccc RBX: ffffffff8251ce60 RCX: ffffffff81185e56
[ 49.988020] RDX: 0000000000000000 RSI: ffffea0340d42110 RDI: ffffffff82247000
[ 49.988020] RBP: ffff888021be5a58 R08: 00000000cccccccc R09: 0000000000000000
[ 49.988020] R10: ffff885021be6200 R11: 000000002cce478a R12: ffffea0340d42110
[ 49.988020] R13: ffff888020a2a200 R14: ffffffff82247000 R15: ffffffff82247000
[ 49.988020] FS: 00000000006d1880(0063) GS:ffffc90000000000(0000) knlGS:0000000000000000
[ 49.988020] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 49.988020] CR2: ffff888687090860 CR3: 0000001020576000 CR4: 00000000000006f0
[ 49.988020] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 49.988020] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 49.988020] Process init (pid: 1, threadinfo ffff888021be4000, task ffff887021be8000)
[ 49.988020] Stack:
[ 49.988020] ffff888021be5a58 cccccccc810ae203 ffffffff81185e56 000000002cce478a
[ 49.988020] 000000002cce478a ffffffff8251ce60 ffffea0340d42110 ffff888020a2a200
[ 49.988020] 0000000000000286 ffffffff82247000 ffff888021be5aa8 ffffffff8113603d
[ 49.988020] Call Trace:
[ 49.988020] [<ffffffff81185e56>] ? free_proc_entry+0x79/0x94
[ 49.988020] [<ffffffff8113603d>] kfree+0x10c/0x14a
[ 49.988020] [<ffffffff81185e56>] ? free_proc_entry+0x79/0x94
[ 49.988020] [<ffffffff81185e56>] free_proc_entry+0x79/0x94
[ 49.988020] [<ffffffff81186094>] remove_proc_entry+0x223/0x249
[ 49.988020] [<ffffffff810524d5>] ? mask_IO_APIC_irq_desc+0x36/0x112
[ 49.988020] [<ffffffff81a8a887>] ? _spin_unlock_irqrestore+0x50/0x76
[ 49.988020] [<ffffffff810acd60>] ? trace_hardirqs_off+0x20/0x36
[ 49.988020] [<ffffffff81a8a887>] ? _spin_unlock_irqrestore+0x50/0x76
[ 49.988020] [<ffffffff810add3b>] ? mark_held_locks+0x60/0x96
[ 49.988020] [<ffffffff81a8a88e>] ? _spin_unlock_irqrestore+0x57/0x76
[ 49.988020] [<ffffffff810ae065>] ? trace_hardirqs_on_caller+0x13b/0x17d
[ 49.988020] [<ffffffff810cef38>] unregister_handler_proc+0x46/0x61
[ 49.988020] [<ffffffff810cd36e>] __free_irq+0x135/0x191
[ 49.988020] [<ffffffff810cd3eb>] free_irq+0x21/0x3f
[ 49.988020] [<ffffffff814f3bee>] serial8250_shutdown+0x130/0x170
[ 49.988020] [<ffffffff814ef6c2>] uart_shutdown+0xd0/0x124
[ 49.988020] [<ffffffff814f0c41>] uart_close+0x14c/0x1f7
[ 49.988020] [<ffffffff814bbffa>] ? tty_fasync+0x11b/0x13e
[ 49.988020] [<ffffffff814befe7>] tty_release_dev+0x1d3/0x51c
[ 49.988020] [<ffffffff8113c5f2>] ? sys_close+0x45/0x112
[ 49.988020] [<ffffffff814bf35d>] tty_release+0x2d/0x4f
[ 49.988020] [<ffffffff8113fd24>] __fput+0xff/0x1d1
[ 49.988020] [<ffffffff8113fe26>] fput+0x30/0x46
[ 49.988020] [<ffffffff8113c58c>] filp_close+0x78/0x99
[ 49.988020] [<ffffffff81a8a8e7>] ? _spin_unlock+0x3a/0x55
[ 49.988020] [<ffffffff8113c66a>] sys_close+0xbd/0x112
[ 49.988020] [<ffffffff81034edb>] system_call_fastpath+0x16/0x1b
[ 49.988020] Code: eb 09 f3 90 41 f6 04 24 01 75 f7 f0 41 0f ba 2c 24 00 19 c0 85 c0 75 ec 41 f6 04 24 02 0f 85 ae 00 00 00 8b 45 bc 49 8b 54 24 50 <49> 89 54 c5 00 41 8b 44 24 0c 4d 89 6c 24 50 8d 48 ff 49 8b 04
[ 49.988020] RIP [<ffffffff81135249>] __slab_free+0x61/0x2ee
[ 49.988020] RSP <ffff888021be5a08>
[ 49.988020] CR2: ffff888687090860
[ 49.988020] ---[ end trace 4dde5b4c04e715b6 ]---
--
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/