lkml.org 
[lkml]   [2010]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH] x86-64: software IRQ masking and handling
Date
On Wed, 4 Aug 2010 07:07:16 am Jeremy Fitzhardinge wrote:
> Of course if it becomes core to the x86 architecture or the kernel
> overall, then most of the irq-related paravirt-ops can go away and be
> limited to the actual interrupt handler and the machinery needed to
> really mask/unmask the hardware and set the pending flag (which would
> likely just be contained within the hypervisor-specific code, and not
> need any new kernel interfaces to replace the dropped paravirt irq ones).

Yep, we sweat over the cli/sti paravirtual implementations because it's so
common. If the kernel used soft cli/sti we could simply implement it with
a hypercall and be much happier (though iret possibly still an issue).

Cheers,
Rusty.


\
 
 \ /
  Last update: 2010-08-04 04:11    [from the cache]
©2003-2011 Jasper Spaans