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 06:21:03 +0200 Message-ID: <1309839663.2720.21.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> 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-wy0-f174.google.com ([74.125.82.174]:53629 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812Ab1GEEVI (ORCPT ); Tue, 5 Jul 2011 00:21:08 -0400 Received: by wyg8 with SMTP id 8so3727832wyg.19 for ; Mon, 04 Jul 2011 21:21:07 -0700 (PDT) In-Reply-To: <1309837443.2720.8.camel@edumazet-laptop> Sender: netdev-owner@vger.kernel.org List-ID: Le mardi 05 juillet 2011 =C3=A0 05:44 +0200, Eric Dumazet a =C3=A9crit = : > Maybe we should do instead a fast dequeue of packets (recycling them > instead of pushing them to upper stack) in case too many packets are > ready to be delivered, and always make sure NIC has a reserve of > available buffers for DMA accesses, before it can assert ISTAT_RFO >=20 >=20 Another way would be to add Explicit Congestion Notification when too many packets are received in a burst, but unfortunately not enough TCP flows are ECN ready :)