Return-path: Received: from smtp08.msg.oleane.net ([62.161.4.8]:60814 "EHLO smtp08.msg.oleane.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752649Ab3ABNRx convert rfc822-to-8bit (ORCPT ); Wed, 2 Jan 2013 08:17:53 -0500 From: "voncken" To: "'Adrian Chadd'" , "'Felix Fietkau'" Cc: "'Mohammed Shafi'" , References: <773DB8A82AB6A046AE0195C68612A31901412125@sbs2003.acksys.local> <50E2FE5E.6040300@openwrt.org> In-Reply-To: Subject: RE: [RFC] ATH9K: infinite loop in Tasklet Date: Wed, 2 Jan 2013 14:17:40 +0100 Message-ID: <016301cde8eb$8b92ba60$a2b82f20$@acksys.fr> (sfid-20130102_141757_102487_2EF92A8E) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: linux-wireless-owner@vger.kernel.org List-ID: Thanks for your answer. I found a workaround for my problem. In my Linux kernel, the default SLAB allocator was changed in default settings. SLOB was used in place of SLAB. I select the SLAB allocator and that fix the default because it runs faster. However the infinite loop can still happen if the cpu is heavily loaded with other tasklets. Best regards. Cedric Voncken -----Message d'origine----- De?: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] De la part de Adrian Chadd Envoy??: mercredi 2 janvier 2013 00:41 ??: Felix Fietkau Cc?: Mohammed Shafi; Cedric VONCKEN; linux-wireless@vger.kernel.org Objet?: Re: [RFC] ATH9K: infinite loop in Tasklet On 1 January 2013 07:18, Felix Fietkau wrote: > I think the best way to properly fix this issue is to implement NAPI > support (which mac80211 already supports). Sure, but there may be some underlying issues (maybe even on just that particular platform) that need to be addressed. Migrating to NAPI / breaking out of the tasklet early should also be done, but it's potentially orthogonal to the OP's problem. Adrian