Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413 |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- From: Christoph Lameter <cl@xxxxxxxxx>
- Date: Mon, 21 Nov 2011 21:18:52 -0600 (CST)
- Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>, Eric Dumazet <eric.dumazet@xxxxxxxxx>, "Alex,Shi" <alex.shi@xxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, "linux-mm@xxxxxxxxx" <linux-mm@xxxxxxxxx>, Pekka Enberg <penberg@xxxxxxxxxx>, Matt Mackall <mpm@xxxxxxxxxxx>, "netdev@xxxxxxxxxxxxxxx" <netdev@xxxxxxxxxxxxxxx>, Tejun Heo <tj@xxxxxxxxxx>
- In-reply-to: <alpine.DEB.2.01.1111211617220.8000@trent.utfs.org>
- User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Mon, 21 Nov 2011, Christian Kujau wrote:
> On Tue, 22 Nov 2011 at 07:27, Benjamin Herrenschmidt wrote:
> > Note that I hit a similar looking crash (sorry, I couldn't capture a
> > backtrace back then) on a PowerMac G5 (ppc64) while doing a large rsync
> > transfer yesterday with -rc2-something (cfcfc9ec) and
> > Christian Kujau (CC) seems to be able to reproduce something similar on
> > some other ppc platform (Christian, what is your setup ?)
>
> I seem to hit it with heavy disk & cpu IO is in progress on this PowerBook
> G4. Full dmesg & .config: http://nerdbynature.de/bits/3.2.0-rc1/oops/
>
> I've enabled some debug options and now it really points to slub.c:2166
Hmmm... That means that c->page points to page not frozen. Per cpu
partial pages are frozen until they are reused or until the partial list
is flushed.
Does this ever happen on x86 or only on other platforms? In put_cpu_partial() the
this_cpu_cmpxchg really needs really to be irq safe. this_cpu_cmpxchg is
only preempt safe.
Index: linux-2.6/mm/slub.c
===================================================================
--- linux-2.6.orig/mm/slub.c 2011-11-21 21:15:41.575673204 -0600
+++ linux-2.6/mm/slub.c 2011-11-21 21:16:33.442336849 -0600
@@ -1969,7 +1969,7 @@
page->pobjects = pobjects;
page->next = oldpage;
- } while (this_cpu_cmpxchg(s->cpu_slab->partial, oldpage, page) != oldpage);
+ } while (irqsafe_cpu_cmpxchg(s->cpu_slab->partial, oldpage, page) != oldpage);
stat(s, CPU_PARTIAL_FREE);
return pobjects;
}
x
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
- References:
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- From: Markus Trippelsdorf
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- From: Markus Trippelsdorf
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- From: Markus Trippelsdorf
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- From: Markus Trippelsdorf
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- From: Markus Trippelsdorf
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- From: Markus Trippelsdorf
- Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413
- From: Benjamin Herrenschmidt
[Linux Kernel Discussion]
[Ethernet Bridging]
[Linux Wireless Networking]
[Linux Bluetooth Networking]
[Linux Networking Users]
[VLAN]
[Git]
[IETF Annouce]
[Linux Assembly]
[Security]
[Bugtraq]
[Photo]
[Singles Social Networking]
[Yosemite Information]
[MIPS Linux]
[ARM Linux Kernel]
[ARM Linux]
[Linux Virtualization]
[Linux Security]
[Linux IDE]
[Linux RAID]
[Linux SCSI]
[Free Dating]