From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [Bugme-new] [Bug 38102] New: BUG kmalloc-2048: Poison overwritten Date: Tue, 05 Jul 2011 07:33:29 +0200 Message-ID: <1309844009.2720.39.camel@edumazet-laptop> References: <20110629145135.5179fb0c.akpm@linux-foundation.org> <1309707971.2523.20.camel@edumazet-laptop> <20110704130531.37cf876e@Nokia-N900> <1309787822.2247.6.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> <20110704162726.4072e715@maggie> <20110704164351.338dc12e@maggie> <1309792323.2247.33.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> <1309837443.2720.8.camel@edumazet-laptop> <1309839068.2720.15.camel@edumazet-laptop> <1309839258.2720.17.camel@edumazet-laptop> <1309839928.2720.23.camel@edumazet-laptop> <1309840708.2720.31.camel@edumazet-laptop> <1309842642.2720.36.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Michael =?ISO-8859-1?Q?B=FCsch?= , Andrew Morton , netdev@vger.kernel.org, Gary Zambrano , bugme-daemon@bugzilla.kernel.org, "David S. Miller" , Pekka Pietikainen , Florian Schirmer , Felix Fietkau , Michael Buesch To: Alexey Zaytsev Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:33128 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753045Ab1GEFde (ORCPT ); Tue, 5 Jul 2011 01:33:34 -0400 Received: by wwe5 with SMTP id 5so5575993wwe.1 for ; Mon, 04 Jul 2011 22:33:33 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Le mardi 05 juillet 2011 =C3=A0 09:18 +0400, Alexey Zaytsev a =C3=A9cri= t : > Actually, I've added a trace to show b44_init_rings and b44_free_ring= s > calls, and they are only called once, right after the driver is > loaded. So it can't be related to START_RFO. Will attach the diff and > dmesg. Thanks I was wondering if DMA could be faster if providing word aligned addresses, could you try : -#define RX_PKT_OFFSET (RX_HEADER_LEN + 2) +#define RX_PKT_OFFSET (RX_HEADER_LEN + NET_IP_ALIGN) (On x86, we now have NET_IP_ALIGN =3D 0 since commit ea812ca1)