From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v3 1/2] ks8842: Do the TX timeout work in workqueue context. Date: Thu, 08 Jul 2010 23:36:39 -0700 (PDT) Message-ID: <20100708.233639.200387221.davem@davemloft.net> References: <1278656894.6953.14.camel@debian> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org To: richard.rojfors@pelagicore.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:45339 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751337Ab0GIGgZ convert rfc822-to-8bit (ORCPT ); Fri, 9 Jul 2010 02:36:25 -0400 In-Reply-To: <1278656894.6953.14.camel@debian> Sender: netdev-owner@vger.kernel.org List-ID: =46rom: Richard R=F6jfors Date: Fri, 09 Jul 2010 08:28:14 +0200 > Currently all code that needs to be run at TX timeout is done in the > calling context, where bottom halves are disabled. Some of the code > blocks, so it needs to be done in a different context. This patch > adds in a work struct which is scheduled at TX timeout. Then the > timeout code is executed within work queue context. >=20 > Signed-off-by: Richard R=F6jfors Applied.