From: Roger Larsson <roger.larsson@norran.net>
To: Pavel Machek <pavel@ucw.cz>, alan@lxorguk.ukuu.org.uk
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: preempt & ne2k
Date: Mon, 28 Jan 2002 21:18:02 +0100 [thread overview]
Message-ID: <200201282021.g0SKL2p07886@mailf.telia.com> (raw)
In-Reply-To: <20020127215253.A793@elf.ucw.cz>
In-Reply-To: <20020127215253.A793@elf.ucw.cz>
On Sunday den 27 January 2002 21.52, Pavel Machek wrote:
> Hi!
>
> > > testing the patch complaining about, AND one that seems like it could
> > > be addressed by using IRQ disabling as a latency guard in addition to
> > > spinlocks.
> >
> > I dont believe anyone has tested the driver hard with pre-empt. Its not
> > that this driver can't be fixed. Its that this is one tiny example of
> > maybe thousands of other similar flaws lurking. There is no obvious
> > automated way to find them either.
>
> So.... you have shown performance problem in one driver. Maybe *bad*
> performance problem, but only performance problem. There may be other
> performance problems out there. And what?
> Pavel
In Alans example it is not a performance problem - it is more of a
correctness problem.
The case when a driver were disabling a specific interrupt was not handled
in a 100% correct way.
There are some other cases that might be even harder to detect - disabling
from a device by writing in its control register.
But if the preempt patch is added those critical sections can be protected.
It is not trivial nor impossible...
/RogerL
--
Roger Larsson
Skellefteå
Sweden
prev parent reply other threads:[~2002-01-28 20:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-27 20:52 Pavel Machek
2002-01-28 20:18 ` Roger Larsson [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=200201282021.g0SKL2p07886@mailf.telia.com \
--to=roger.larsson@norran.net \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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®