public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jussi Laako <jussi.laako@kolumbus.fi>
To: Andrew Morton <akpm@zip.com.au>
Cc: linux-kernel@vger.kernel.org, linux-audio-dev@music.columbia.edu
Subject: Re: [PATCH] Additions to full lowlatency patch
Date: Sun, 13 Jan 2002 00:54:55 +0200	[thread overview]
Message-ID: <3C40BEBF.6EE60D2@kolumbus.fi> (raw)
In-Reply-To: <3C40AF23.18C811A8@kolumbus.fi> <3C40B6F3.1531F931@zip.com.au>

Andrew Morton wrote:
> 
> As Arjan points out, the eepro100 change will cause deadlocks on SMP,
> and general badness on uniprocessor.  But I've done a heap of testing
> on a eepro100 machine and it hasn't been a problem.  I expect that
> wait_for_cmd_done() is only a problem during device startup and shutdown.
> And possibly in error recovery.

Yes, I was unsure about the eepro100 driver, but didn't revert the patch
because it worked in my UP tests.

I usually test the network drivers in 100 Mbps switched network and with 10
Mbps overloaded hub with huge amounts of collisions. The 3c90x driver has
been badly behaving in very congested networks. It looks like it can spend
worst case 1 second in timeout loop.

I have soft realtime application which needs to have simultaneous
soundcard/disk/network/GUI access and that's the motivation for the patch.

> I take the position that device driver startup and shutdown functions
> are a complete basket case, and they are on the "don't do that" list.
> Generally, this is OK.  Latency-critical applications should be
> careful to ensure that all required kernel modules are loaded beforehand,

I completely agree, the startup code is usually too timing critical. That's
why I left the initialization parts out of scope.


 - Jussi Laako

-- 
PGP key fingerprint: 161D 6FED 6A92 39E2 EB5B  39DD A4DE 63EB C216 1E4B
Available at PGP keyservers


  reply	other threads:[~2002-01-12 22:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-12 21:48 [PATCH] Additions to full lowlatency patch Jussi Laako
2002-01-12 22:03 ` arjan
2002-01-12 22:38   ` Jussi Laako
2002-01-12 22:21 ` Andrew Morton
2002-01-12 22:54   ` Jussi Laako [this message]
2002-01-13  2:47     ` Jussi Laako
2002-01-12 22:26 ` Stephan von Krawczynski

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=3C40BEBF.6EE60D2@kolumbus.fi \
    --to=jussi.laako@kolumbus.fi \
    --cc=akpm@zip.com.au \
    --cc=linux-audio-dev@music.columbia.edu \
    --cc=linux-kernel@vger.kernel.org \
    /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