freebsd-skq/sys/i386
John Baldwin cebc7fb16c Improve the handling of cpuset with interrupts.
- For x86, change the interrupt source method to assign an interrupt source
  to a specific CPU to return an error value instead of void, thus allowing
  it to fail.
- If moving an interrupt to a CPU fails due to a lack of IDT vectors in the
  destination CPU, fail the request with ENOSPC rather than panicing.
- For MSI interrupts on x86 (but not MSI-X), only allow cpuset to be used
  on the first interrupt in a group.  Moving the first interrupt in a group
  moves the entire group.
- Use the icu_lock to protect intr_next_cpu() on x86 instead of the
  intr_table_lock to fix a LOR introduced in the last set of MSI changes.
- Add a new privilege PRIV_SCHED_CPUSET_INTR for using cpuset with
  interrupts.  Previously, binding an interrupt to a CPU only performed a
  privilege check if the interrupt had an interrupt thread.  Interrupts
  without a thread could be bound by non-root users as a result.
- If an interrupt event's assign_cpu method fails, then restore the original
  cpuset mask for the associated interrupt thread.

Approved by:	re (kib)
2009-07-01 17:20:07 +00:00
..
acpica Adapt vfs kqfilter to the shared vnode lock used by zfs write vop. Use 2009-06-10 20:59:32 +00:00
bios Some minor style changes: 2009-05-20 16:29:22 +00:00
compile
conf * Driver for ACPI WMI (Windows Management Instrumentation) 2009-06-23 13:17:25 +00:00
cpufreq Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
i386 Improve the handling of cpuset with interrupts. 2009-07-01 17:20:07 +00:00
ibcs2 Fix ibcs2_ipc.c build by adding missing limits.h include. 2009-06-25 07:25:39 +00:00
include Improve the handling of cpuset with interrupts. 2009-07-01 17:20:07 +00:00
isa Improve the handling of cpuset with interrupts. 2009-07-01 17:20:07 +00:00
linux Return ENOSYS instead of EINVAL for invalid function codes to match the 2009-06-26 19:39:33 +00:00
pci strict kobj signatures: fix legacy i386 pcib_write_config impl 2009-06-11 17:06:31 +00:00
svr4 Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions 2009-01-31 11:37:21 +00:00
xbox In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
xen Implement a facility for dynamic per-cpu variables. 2009-06-23 22:42:39 +00:00
Makefile Update entries for building tags. 2007-05-13 18:21:54 +00:00