From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Pavel Pisa <pisa@cmp.felk.cvut.cz>,
Ingo Molnar <mingo@redhat.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
trivial@rustcorp.com.au
Subject: Re: VM86 interrupt emulation breakage and FIXes for 2.6.x kernel series
Date: Sat, 11 Dec 2004 18:46:52 +0000 [thread overview]
Message-ID: <1102790805.8194.11.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.58.0412111041440.31040@ppc970.osdl.org>
On Sad, 2004-12-11 at 18:45, Linus Torvalds wrote:
> The interpreter idea is somewhat interesting, especially if the "language"
> can be actually "compiled" into some threaded format or similar. I suspect
> that a number of special devices that you don't want to maintain a
> real kernel module for could be handled that way.
The example I gave is sufficient for vblank on every video card that was
looked at (which is the main X interest for the Xsync extensions). You
also only have to turn the descriptor from "type, size" into function
pointer to get good performance .. at least I think that will be the
case
if((op->func(op->offset) & op->mask) != op->value)
return IRQ_NONE;
> However, I also suspect that such a thing would eventually explode with
> special cases and support for new features people want, to the point
> where it gets quite complex, and a kernel module might be easier after all ;)
For some devices most definitely. The simple descriptors unfortunately
will degenerate into ACPI otherwise.
Alan
next prev parent reply other threads:[~2004-12-11 19:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-09 13:59 VM86 interrupt emulation breakage and FIXes for 2.6.x kernel series Pavel Pisa
2004-12-09 16:09 ` Linus Torvalds
2004-12-10 21:05 ` Alan Cox
2004-12-10 22:55 ` Linus Torvalds
2004-12-10 23:58 ` Alan Cox
2004-12-11 1:23 ` Linus Torvalds
2004-12-11 0:57 ` Alan Cox
2004-12-11 2:30 ` Pavel Pisa
2004-12-11 4:21 ` Linus Torvalds
2004-12-11 14:19 ` Alan Cox
2004-12-11 18:45 ` Linus Torvalds
2004-12-11 18:46 ` Alan Cox [this message]
2005-04-26 8:49 ` [PATCH] Linux 2.6.x VM86 interrupt emulation fixes - the second round Pavel Pisa
2004-12-11 2:07 ` VM86 interrupt emulation breakage and FIXes for 2.6.x kernel series Pavel Pisa
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=1102790805.8194.11.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pisa@cmp.felk.cvut.cz \
--cc=torvalds@osdl.org \
--cc=trivial@rustcorp.com.au \
/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