freebsd-skq/sys
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
..
amd64 Improve the handling of cpuset with interrupts. 2009-07-01 17:20:07 +00:00
arm Correct the #endif comment. 2009-06-26 16:22:24 +00:00
boot On special systems where the MBR and the GPT are in sync (up to the 4th 2009-06-26 09:32:31 +00:00
bsm
cam Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
cddl dtrace/amd64: fix virtual address checks 2009-06-24 16:03:57 +00:00
compat Replace AUDIT_ARG() with variable argument macros with a set more more 2009-06-27 13:58:44 +00:00
conf Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
contrib Update to 3.6.2.2 firmware (latest w/o host-based power save support): 2009-06-29 18:42:54 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
dev Multiqueue RX is not correctly enabled on the new 82599 2009-07-01 16:13:01 +00:00
fs Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
gdb
geom Make gjournal work with kernel compiled with "options DIAGNOSTIC". 2009-06-30 14:34:06 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 Improve the handling of cpuset with interrupts. 2009-07-01 17:20:07 +00:00
ia64 Correct the #endif comment. 2009-06-26 16:22:24 +00:00
isa
kern Improve the handling of cpuset with interrupts. 2009-07-01 17:20:07 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern done method is supposed to return int. 2009-06-22 22:09:18 +00:00
mips Fix copyrights to reflect the origin of these files. 2009-06-29 16:45:50 +00:00
modules Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
net In case we cannot queue a packet reaching the queue limit, retain the 2009-06-30 05:21:00 +00:00
net80211 Modify most routines returning 'struct ifaddr *' to return references 2009-06-23 20:19:09 +00:00
netatalk Use queue(9) instead of hand-crafted link lists for the global netatalk 2009-06-24 21:36:09 +00:00
netgraph Fix infinite loop in ng_iface, that happens when packet passes out via 2009-07-01 08:08:56 +00:00
netinet Update various IPFW-related modules to use if_addr_rlock()/ 2009-06-26 00:46:50 +00:00
netinet6 Fix "options VIMAGE_GLOBALS" build following introduction of 2009-06-29 15:23:50 +00:00
netipsec Add address list locking for in6_ifaddrhead/ia_link: as with locking 2009-06-25 16:35:28 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nfsclient Adjust the internal NFS KPI to avoid the last traces of NFS_LEGACYRPC. 2009-06-30 19:10:17 +00:00
nfsserver Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nlm Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the 2009-06-17 22:50:26 +00:00
opencrypto Fix cryptodev UIO creation. 2009-05-23 13:23:46 +00:00
pc98 Add stub vm.h for pc98. 2009-06-27 02:20:31 +00:00
pci Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
powerpc Correct the #endif comment. 2009-06-26 16:22:24 +00:00
rpc When unmounting an NFS mount using sec=krb5[ip], the umount system 2009-07-01 16:42:03 +00:00
security When auditing unmount(2), capture FSID arguments as regular text strings 2009-07-01 16:56:56 +00:00
sparc64 - Work around the broken loader behavior of not demapping no longer 2009-06-28 22:42:51 +00:00
sun4v Correct the #endif comment. 2009-06-26 16:22:24 +00:00
sys Improve the handling of cpuset with interrupts. 2009-07-01 17:20:07 +00:00
tools - Add a way to change filter oversampling factor through 2009-06-15 04:31:34 +00:00
ufs For SU mounts, softdep_fsync() might drop vnode lock, allowing other 2009-06-30 10:07:33 +00:00
vm Eliminiate code duplication by calling vm_object_destroy() 2009-06-28 08:42:17 +00:00
xdr MFdevbranch 192944 2009-05-28 08:18:12 +00:00
xen Make ipi_cpu() function as intended. 2009-05-30 08:53:13 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00