[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1309791232.2247.27.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date: Mon, 04 Jul 2011 16:53:52 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Michael Büsch <m@...s.ch>
Cc: Alexey Zaytsev <alexey.zaytsev@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
netdev@...r.kernel.org, Gary Zambrano <zambrano@...adcom.com>,
bugme-daemon@...zilla.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Pekka Pietikainen <pp@...oulu.fi>,
Florian Schirmer <jolt@...box.org>,
Felix Fietkau <nbd@...nwrt.org>, Michael Buesch <mb@...sch.de>
Subject: Re: [Bugme-new] [Bug 38102] New: BUG kmalloc-2048: Poison
overwritten
Le lundi 04 juillet 2011 à 16:43 +0200, Michael Büsch a écrit :
> On Mon, 4 Jul 2011 16:27:26 +0200
> Michael Büsch <m@...s.ch> wrote:
> > We do this in b43, which has exactly the same DMA engine.
>
> (Ok, it turns out we don't do this in b43 (We only do it on the TX side).
> But that's a bug. We should do a wmb() on the RX side before advancing the
> descriptor ring pointer.)
Also it appears rx_ring (or tx_ring ) are not necessarily 4K aligned if
kzalloc() path is taken.
(SL?B DEBUG -> kzalloc(4096) might not be 4K aligned)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists