Re: [GIT PULL] SLAB changes for v3.10

From: Tony Lindgren
Date: Wed May 08 2013 - 00:24:49 EST


* Tony Lindgren <tony@xxxxxxxxxxx> [130507 17:35]:
> * Pekka Enberg <penberg@xxxxxxxxxx> [130506 23:42]:
> > Hi Linus,
> >
> > Please pull the latest SLAB tree from:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git slab/for-linus
> ...
>
> > mm, slab_common: Fix bootstrap creation of kmalloc caches
>
> This one seems to cause a regression for me on at least arm omap
> and vexpress that depends on some kconfig option I have not been
> able to figure out yet. Reverting 8a965b3b fixes the issue.
>
> Any ideas?

OK got it narrowed down to CONFIG_DEBUG_SPINLOCK=y causing the problem
with commit 8a965b3b. Ain't nothing like bisecting and booting and then
diffing .config files on top of that.

> Without reverting 8a965b3b I'm getting:
>
> [ 0.000000] Unable to handle kernel NULL pointer dereference at virtual address 00000054
> [ 0.000000] pgd = c0004000
> [ 0.000000] [00000054] *pgd=00000000
> [ 0.000000] Internal error: Oops: 5 [#1] SMP ARM
> [ 0.000000] Modules linked in:
> [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.9.0-11486-g6d13e11 #689
> [ 0.000000] task: c06f77c8 ti: c06ec000 task.ti: c06ec000
> [ 0.000000] PC is at kmem_cache_alloc_trace+0x50/0x178
> [ 0.000000] LR is at kmem_cache_alloc_trace+0x38/0x178
> [ 0.000000] pc : [<c00edab4>] lr : [<c00eda9c>] psr: 600001d3
> [ 0.000000] sp : c06edf70 ip : 600001d3 fp : 00000000
> [ 0.000000] r10: 000000c0 r9 : c0086958 r8 : 000080d0
> [ 0.000000] r7 : 00000000 r6 : 600001d3 r5 : 00000000 r4 : 00008000
> [ 0.000000] r3 : 00000050 r2 : c06ec000 r1 : c06f77c8 r0 : c00eda9c
> [ 0.000000] Flags: nZCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel
> [ 0.000000] Control: 10c5387d Table: 6000406a DAC: 00000015
> [ 0.000000] Process swapper/0 (pid: 0, stack limit = 0xc06ec240)
> [ 0.000000] Stack: (0xc06edf70 to 0xc06ee000)
> [ 0.000000] df60: 00002014 00000010 c0702890 00000000
> [ 0.000000] df80: 00000000 00000000 00000000 410fc090 c06f4480 c0086958 c0702890 00000000
> [ 0.000000] dfa0: 00000010 c06dc0b0 ffffffff c06b44f4 9fffffff c073834c c0738340 c06a5828
> [ 0.000000] dfc0: ffffffff ffffffff c06a5478 00000000 00000000 c06dc0b0 00000000 10c5387d
> [ 0.000000] dfe0: c06f44c8 c06dc4b4 c06f8cac 6000406a 00000000 60008074 00000000 00000000
> [ 0.000000] [<c00edab4>] (kmem_cache_alloc_trace+0x50/0x178) from [<c0086958>] (alloc_desc+0x24/0xb4)
> [ 0.000000] [<c0086958>] (alloc_desc+0x24/0xb4) from [<c06b44f4>] (early_irq_init+0x78/0xec)
> [ 0.000000] [<c06b44f4>] (early_irq_init+0x78/0xec) from [<c06a5828>] (start_kernel+0x17c/0x33c)
> [ 0.000000] [<c06a5828>] (start_kernel+0x17c/0x33c) from [<60008074>] (0x60008074)
> [ 0.000000] Code: e5923014 e2833014 e1a03103 e0873003 (e5931004)
> [ 0.000000] ---[ end trace 1b75b31a2719ed1c ]---
> --
> 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/
--
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/