freebsd-dev/sys
John Baldwin 9dddab6fc1 Change the roundrobin implementation in the 4BSD scheduler to trigger a
userland preemption directly from hardclock() via sched_clock() when a
thread uses up a full quantum instead of using a periodic timeout to cause
a userland preemption every so often.  This fixes a potential deadlock
when IPI_PREEMPTION isn't enabled where softclock blocks on a lock held
by a thread pinned or bound to another CPU.  The current thread on that
CPU will never be preempted while softclock is blocked.

Note that ULE already drives its round-robin userland preemption from
sched_clock() as well and always enables IPI_PREEMPT.

MFC after:	1 week
2007-10-27 22:07:40 +00:00
..
amd64 Don't test the APIC flag in the cpuid features for amd64 to see if a 2007-10-27 13:34:53 +00:00
arm Add an option to be able to override the value of the AT91 master clock 2007-10-25 23:02:42 +00:00
boot Use the smaller cgbase() macro in ufsread.c if UFS_SMALL_CGBASE is 2007-10-26 21:02:31 +00:00
bsm
cam Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
cddl Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
compat Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
conf fix build 2007-10-27 15:31:50 +00:00
contrib Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' as 2007-10-26 13:18:38 +00:00
crypto
ddb Make the examine command honor db_pager_quit so you can use 'q' or 'x' 2007-10-27 20:19:11 +00:00
dev Don't destroy an ACPI device_t for a PCI device and reassign the ACPI 2007-10-27 14:54:43 +00:00
fs Remove some debugging code that, while useful, doesn't belong in the committed 2007-10-25 08:23:08 +00:00
gdb
geom Save stack only when KTR_GEOM is both compiled into the kernel and enabled 2007-10-26 06:55:00 +00:00
gnu Remove duplicate "union" from ext2_opts. 2007-10-27 16:14:33 +00:00
i4b Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
i386 Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have not 2007-10-26 03:23:54 +00:00
ia64 Set PTE_ACCESSED in the PTE and before inserting it in the VHPT. 2007-10-16 03:20:32 +00:00
isa Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have not 2007-10-26 03:23:54 +00:00
kern Change the roundrobin implementation in the 4BSD scheduler to trigger a 2007-10-27 22:07:40 +00:00
libkern Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead. 2007-10-13 12:05:36 +00:00
modules Disable the coretemp and nvram on pc98. 2007-10-26 13:42:17 +00:00
net Add a comment explaining why disc(4) bears the IFF_LOOPBACK flag. 2007-10-27 19:57:41 +00:00
net80211 silence complaint about not loading the wlan_scan_monitor module; 2007-10-24 20:20:41 +00:00
netatalk Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' as 2007-10-26 13:18:38 +00:00
netatm
netgraph Fix build with NETGRAPH_DEBUG. 2007-10-19 20:09:58 +00:00
netinet Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' as 2007-10-26 13:18:38 +00:00
netinet6 Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' as 2007-10-26 13:18:38 +00:00
netipsec
netipx
netnatm
netncp
netsmb Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
nfs
nfs4client Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
nfsclient Add the following mount options to the nfs_opts array: 2007-10-27 16:28:05 +00:00
nfsserver Rename mac_associate_nfsd_label() to mac_proc_associate_nfsd(), and move 2007-10-25 12:34:14 +00:00
opencrypto Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
pc98 MFi386: revision 1.476 2007-10-26 13:38:00 +00:00
pccard
pci Oops, convert a tsleep() to a msleep() that was missed when adding locking 2007-10-15 16:18:20 +00:00
powerpc Cut over to ULE on PowerPC 2007-10-23 00:52:25 +00:00
rpc
security Give each posixsem MAC Framework entry point its own counter and test case 2007-10-27 10:38:57 +00:00
sparc64 - Fix the handling of R_SPARC_OLO10, which is a bit of a special case 2007-10-16 19:17:48 +00:00
sun4v Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
sys kthread_exit needs no stinkin argument. 2007-10-26 17:03:22 +00:00
tools
ufs Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
vm Change vm_page_cache_transfer() such that it does not transfer pages 2007-10-27 00:09:30 +00:00
Makefile