Re: [uml-devel] [PATCH 9/11] UML - Implement soft interrupts

From: Blaisorblade
Date: Mon Jan 16 2006 - 20:04:55 EST


On Sunday 15 January 2006 22:39, Jeff Dike wrote:
> This patch implements soft interrupts. Interrupt enabling and
> disabling no longer map to sigprocmask. Rather, a flag is set
> indicating whether interrupts may be handled. If a signal comes in
> and interrupts are marked as OK, then it is handled normally. If
> interrupts are marked as off, then the signal handler simply returns
> after noting that a signal needs handling. When interrupts are enabled
> later on, this pending signals flag is checked, and the IRQ handlers
> are called at that point.

~25 %? Good! Which is delay vs. host?

A curiosity - did you look at the similar code in Ingo Molnar's VCPU patch? I
never found the time to split it out and compare differencies. I just
remember it using assembler inserts for (maybe atomic) bitmask manipulations.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade






___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/