From: David Miller <davem@davemloft.net>
To: richard.rojfors@pelagicore.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH v2] ks8842: Do the TX timeout work in workqueue context.
Date: Thu, 08 Jul 2010 23:07:20 -0700 (PDT) [thread overview]
Message-ID: <20100708.230720.260093060.davem@davemloft.net> (raw)
In-Reply-To: <1278655286.5481.4.camel@debian>
From: Richard Röjfors <richard.rojfors@pelagicore.com>
Date: Fri, 09 Jul 2010 08:01:26 +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.
>
> In the process an unnecessary bank change before resetting the
> controller was removed.
>
> Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
If the bank change removal is unrelated to this change you should
do it in a seperate change.
This way it's easy for someone to find out if a regression is
caused by the TX workqueue bits, rather than this bank change
removal.
So, please submit this as a two patch sequence, one that does
the bank change line removal. And then a second that does
the TX workqueue bits.
Thanks.
prev parent reply other threads:[~2010-07-09 6:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 6:01 [PATCH v2] ks8842: Do the TX timeout work in workqueue context Richard Röjfors
2010-07-09 6:07 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100708.230720.260093060.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=richard.rojfors@pelagicore.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).