]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only use CPUs in the domain the device is attached to for default
authorJeff Roberson <jeff@FreeBSD.org>
Tue, 27 Mar 2018 03:37:04 +0000 (03:37 +0000)
committerJeff Roberson <jeff@FreeBSD.org>
Tue, 27 Mar 2018 03:37:04 +0000 (03:37 +0000)
commita48de40bcc09cd70632b72b486143a57ed25795b
treefa1b60b16d6e81c0cc8a415a616c0d0f9fa21bc2
parent146bf2c66dbc71f6473dff7853f35b3884e72047
Only use CPUs in the domain the device is attached to for default
assignment.  Device drivers are able to override the default assignment
if they bind directly.  There are severe performance penalties for
handling interrupts on remote CPUs and this should only be done in
very controlled circumstances.

Reviewed by: jhb, kib
Tested by: pho (earlier version)
Sponsored by: Netflix, Dell/EMC Isilon
Differential Revision: https://reviews.freebsd.org/D14838
sys/amd64/include/intr_machdep.h
sys/i386/include/intr_machdep.h
sys/x86/x86/intr_machdep.c
sys/x86/x86/io_apic.c
sys/x86/x86/msi.c
sys/x86/x86/nexus.c
sys/x86/xen/xen_intr.c