public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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: Fri, 10 Dec 2004 23:58:35 +0000	[thread overview]
Message-ID: <1102723114.4774.9.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.58.0412101454510.31040@ppc970.osdl.org>

On Gwe, 2004-12-10 at 22:55, Linus Torvalds wrote:
> On Fri, 10 Dec 2004, Alan Cox wrote:
> The vm86 interrupt does not allow sharing. And it really _has_ to be 
> disabled until user mode has cleared the irq source, or you'll have a very 
> dead machine.

Until the 10,000th event it actually seems to work rather happily
without
that change. The interrupt has already occurred at this point and it was
edge triggered so the interrupt will be cleared down by the kernel on
the irq handler return path. Nothing expects that interrupt to get
re-enabled, or deals with refcounting in his patch, or with races. It
doesn't need disable_irq except for level triggered and vm86 has never
handled that. In fact right now it can't because multiple signals are
merged and you never know how many IRQ events occurred.

That limit works because the old vm86 irq hack only works with the edge
triggered old style PC ISA interrupts.


  reply	other threads:[~2004-12-11  1:03 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 [this message]
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
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=1102723114.4774.9.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