]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restore r331606 with a bugfix to setup cpuset_domain[] earlier on all
authorJeff Roberson <jeff@FreeBSD.org>
Wed, 28 Mar 2018 18:47:35 +0000 (18:47 +0000)
committerJeff Roberson <jeff@FreeBSD.org>
Wed, 28 Mar 2018 18:47:35 +0000 (18:47 +0000)
commit27a3c9d7103f9b1127ae61062c16b2d2385f06f6
tree234ff42782172f0a8d34fdd3d4e577f626d36b5e
parent0e976a76ffa28b7a23bcc3b800c5207a439fbcb5
Restore r331606 with a bugfix to setup cpuset_domain[] earlier on all
platforms.  Original commit message as follows:

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
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/kern/kern_cpuset.c
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