From: Haavard Skinnemoen <hskinnemoen@atmel.com>
To: Michael Trimarchi <trimarchimichael@yahoo.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] atmel serial reduce trasmitting window & code style patch
Date: Sun, 6 Apr 2008 16:57:00 -0400 [thread overview]
Message-ID: <20080406165700.7802ef6f@siona.local> (raw)
In-Reply-To: <524838.25009.qm@web26206.mail.ukl.yahoo.com>
On Thu, 3 Apr 2008 10:39:06 +0200 (CEST)
Michael Trimarchi <trimarchimichael@yahoo.it> wrote:
> Reduce the trasmitting window size to avoid blocking of tasklet because
> it must handle the receive phase too.
>
> Signed-off-by: michael <trimarchi@gandalf.sssup.it>
Ok, the patch seems to make sense, but your description isn't very good...
* What problem does this patch solve (I think I know it, but I don't
want to guess.)
* This patch doesn't really reduce any "TX window" since the window
simply didn't exist before (or was infinitely long or whatever.) I
think you should mention that this limitation is a new thing.
* Why is 32 a good value?
Also, do we need to reschedule the tasklet if we terminate the loop
because of this limit? I think we can get away with not doing it since
the interrupt handler will be triggered as soon as we enable the TX
interrupt. But perhaps we should avoid enabling the interrupt and
schedule the tasklet since we _know_ there's a TX interrupt pending?
Haavard
next prev parent reply other threads:[~2008-04-06 20:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-03 8:39 Michael Trimarchi
2008-04-06 20:46 ` Haavard Skinnemoen
2008-04-06 20:57 ` Haavard Skinnemoen [this message]
2008-04-07 8:14 ` Michael Trimarchi
2008-04-08 8:32 ` Marc Pignat
2008-04-08 8:44 ` Michael Trimarchi
2008-04-07 9:22 Michael Trimarchi
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=20080406165700.7802ef6f@siona.local \
--to=hskinnemoen@atmel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trimarchimichael@yahoo.it \
/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
all inboxes | Powered by JetHome®