diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-06-17 07:22:06 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-06-17 07:22:06 +0100 |
commit | 38b998cfb6e8b572a265bb6ba400a1db700e5882 (patch) | |
tree | 48c0ab213ece61a89dffabc452fbdd3285506238 /xen/include/xen/sched-if.h | |
parent | 56d6b7ac5dedb2413b22713e3760a617a3d5e260 (diff) | |
download | xen-38b998cfb6e8b572a265bb6ba400a1db700e5882.tar.gz xen-38b998cfb6e8b572a265bb6ba400a1db700e5882.tar.bz2 xen-38b998cfb6e8b572a265bb6ba400a1db700e5882.zip |
x86: IRQ affinity should track vCPU affinity
With IRQs getting bound to the CPU the binding vCPU currently runs on
there can result quite a bit of extra cross CPU traffic as soon as
that vCPU moves to a different pCPU. Likewise, when a domain re-binds
an event channel associated with a pIRQ, that IRQ's affinity should
also be adjusted.
The open issue is how to break ties for interrupts shared by multiple
domains - currently, the last request (at any point in time) is being
honored.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r-- | xen/include/xen/sched-if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h index b1c2b72471..833c31ccaf 100644 --- a/xen/include/xen/sched-if.h +++ b/xen/include/xen/sched-if.h @@ -79,6 +79,7 @@ static inline void vcpu_schedule_unlock(struct vcpu *v) struct task_slice { struct vcpu *task; s_time_t time; + bool_t migrated; }; struct scheduler { |