[PATCH 1/2] Transparent entry.S IRQ holdoff handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* zach@xxxxxxxxxx (zach@xxxxxxxxxx) wrote:
> i386 Transparent paravirtualization patch #1.
> 
> Add support for interrupt holdoff to the entry.S fault and syscall paths.  This
> is a straightforward macro-ization for the default sub-architecture.  Note that
> CLI, STI and IRET may be called with non-flat segments because guest %ds and
> %es segments are live at the time.  Any alternative implementation (such as a
> virtual interrupt mask) is required to be compatible with this requirement.

Could you please elaborate on this one.  I'd like to make sure I
understand (since Xen uses some type of virtual interrupt mask to disable
event channel).

> This makes maintenance of the code in entry.S much more easy, and eliminates
> some very tricky code changes that would otherwise be required.  CLI/STI/IRET
> may all assume a 32 bit flat stack for writing to data areas.
> 
> STI_SYSEXIT is macroized together because it implicitly relies on the interrupt
> holdoff property of STI.

I'm also unclear on this bit.

thanks,
-chris

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux