freebsd-dev/sys
Marcel Moolenaar 8d077f48f0 Reimplement the lazy FP context switching:
o   Move all code into a single file for easier maintenance.
o   Use a single global lock to avoid having to handle either
    multiple locks or race conditions.
o   Make sure to disable the high FP registers after saving
    or dropping them.
o   use msleep() to wait for the other CPU to save the high
    FP registers.

This change fixes the high FP inconsistency panics.

A single global lock typically serializes too much, which may
be noticable when a lot of threads use the high FP registers,
but in that case it's probably better to switch the high FP
context synchronuously. Put differently: cpu_switch() should
switch the high FP registers if the incoming and outgoing
threads both use the high FP registers.
2009-10-31 22:27:31 +00:00
..
amd64 Fix some problems with effective mmap() offsets > 32 bits. This was 2009-10-28 20:17:54 +00:00
arm MFp4: 2009-10-31 13:24:14 +00:00
boot Close a file descriptor leak in an error case. 2009-10-28 10:06:27 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam MFp4: 2009-10-31 10:43:38 +00:00
cddl - zfs_zaccess() can handle VAPPEND too, so map V_APPEND to VAPPEND and call 2009-10-30 23:33:06 +00:00
compat Regenerate 2009-10-27 11:02:04 +00:00
conf Reimplement the lazy FP context switching: 2009-10-31 22:27:31 +00:00
contrib Updated iwn(4) driver supporting the newer series, 5000, 5150 and 5300. 2009-10-23 22:04:18 +00:00
crypto
ddb Put square backets ([]) around process names for system processes to patch 2009-10-01 19:12:14 +00:00
dev While certain supported Symbios/LSI SCSI chips (532c896, 53c1000, 53c1010) 2009-10-31 17:06:36 +00:00
fs There is no need to "busy" a page when the object is locked for the duration 2009-10-26 18:02:05 +00:00
gdb
geom Set the active flag in the PMBR when we install bootcode on a GPT 2009-10-14 19:24:01 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 Unobfuscate unit number handling in apm(4). 2009-10-31 10:38:30 +00:00
ia64 Reimplement the lazy FP context switching: 2009-10-31 22:27:31 +00:00
isa Tweak the way that the ACPI and ISA bus drivers match hint devices to 2009-08-24 21:51:46 +00:00
kern Trapsignal() and postsig() call kern_sigprocmask() with both process 2009-10-30 10:10:39 +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 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
modules Updates to the iwn driver: 2009-10-24 09:55:11 +00:00
net Remove unneeded blank line from bpf_drvinit(). 2009-10-23 17:26:29 +00:00
net80211 Update the route's sequence number upon receiving a RANN. 2009-10-29 12:19:10 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Spell DIAGNOSTIC correctly. 2009-10-24 18:49:17 +00:00
netinet Improve round robin stream scheduler and cleanup some code. 2009-10-29 17:40:33 +00:00
netinet6 Use the correct option name in the preprocessor command to enable 2009-10-23 18:27:34 +00:00
netipsec Changed an IPSEC_ASSERT to a simple test, as such invalid packets 2009-10-01 15:33:53 +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
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Close a race with caching of -ve name lookups in the NFS client. 2009-10-16 19:30:48 +00:00
nfsserver Ensure that tv_sec is between INT32_MIN and INT32_MAX, so ZFS won't object. 2009-09-26 18:23:16 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
pc98 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
pci intpm/sb700: force polling mode if configured interrupt is SMI 2009-09-19 08:56:28 +00:00
powerpc Unbreak cpu_switch(). The register allocator in my brain is clearly 2009-10-31 20:59:13 +00:00
rpc Set the prison in NFS anon and GSS SVC creds (as I indended to in r197581). 2009-09-28 18:55:29 +00:00
security Having thrown the cat out of the house, add a necessary include. 2009-09-08 13:24:36 +00:00
sparc64 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
sun4v In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
sys Turn unused structure fields of cdevsw into spares. 2009-10-31 10:35:41 +00:00
teken Discard Device Control Strings and Operating System Commands. 2009-10-08 10:26:49 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs Don't build ufs_gjournal.c at all if UFS_GJOURNAL option is not given 2009-09-22 16:22:05 +00:00
vm Correct an error in vm_fault_copy_entry() that has existed since the first 2009-10-31 17:39:56 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
Makefile