1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys
Roman Divacky 68c4dfdf0c Make isa_dma functions MPSAFE by introducing its own private lock. These
functions are selfcontained (ie. they touch only isa_dma.c static variables
and hardware) so a private lock is sufficient to prevent races. This changes
only i386/amd64 while there are also isa_dma functions for ia64/sparc64.
Sparc64 are ones empty stubs and ia64 ones are unused as ia64 does not
have isa (says marcel).

This patch removes explicit locking of Giant from a few drivers (there
are some that requires this but lack ones - this patch fixes this) and
also removes the need for implicit locking of Giant from attach routines
where it's provided by newbus.

Approved by:	ed (mentor, implicit)
Reviewed by:	jhb, attilio (glanced by)
Tested by:	Giovanni Trematerra <giovanni.trematerra gmail com>
IA64 clue:	marcel
2009-11-09 20:29:10 +00:00
..
amd64 Make isa_dma functions MPSAFE by introducing its own private lock. These 2009-11-09 20:29:10 +00:00
arm Fix gdb_cpu_getreg() to actually match GDB's register 2009-11-05 06:31:50 +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-11-05 08:55:24 +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 Fix typo in kernel message. The fix is based upon the patch in the PR. 2009-11-05 07:37:48 +00:00
conf Driver for the Apple Touchpad present on MacBook (non-Pro & Pro). 2009-11-09 15:59:09 +00:00
contrib Fix two memory leaks in error cases. 2009-11-05 16:30:16 +00:00
crypto
ddb Put square backets ([]) around process names for system processes to patch 2009-10-01 19:12:14 +00:00
dev Make isa_dma functions MPSAFE by introducing its own private lock. These 2009-11-09 20:29:10 +00:00
fs - Improve comments about locking of the "struct fifoinfo" which is a bit 2009-11-06 22:29:46 +00:00
gdb
geom Fix handling of GPT headers when size is > 92 bytes. 2009-11-07 17:29:03 +00:00
gnu File flags handling fixes for ext2fs: 2009-11-05 04:51:38 +00:00
i386 Make isa_dma functions MPSAFE by introducing its own private lock. These 2009-11-09 20:29:10 +00:00
ia64 Reimplement the lazy FP context switching: 2009-10-31 22:27:31 +00:00
isa Remove duplicate suspend/resume code from vga_pci.c and let vga(4) register 2009-11-06 20:32:26 +00:00
kern Add suggestion for zfs root. 2009-11-08 09:54:25 +00:00
kgssapi
libkern
mips In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
modules Driver for the Apple Touchpad present on MacBook (non-Pro & Pro). 2009-11-09 15:59:09 +00:00
net Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
net80211 The isr_intval in ieee80211req_scan_result structure should be 16 bit. 2009-11-09 11:23:37 +00:00
netatalk
netgraph Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
netinet Remove ifdefed out part of code, which seems to have originated a decade ago 2009-11-09 19:53:34 +00:00
netinet6 Make nd6_llinfo_timer() does its job, again. ln->la_expire was 2009-11-06 17:34:26 +00:00
netipsec Changed an IPSEC_ASSERT to a simple test, as such invalid packets 2009-10-01 15:33:53 +00:00
netipx
netnatm
netncp
netsmb
nfs
nfsclient Close a race with caching of -ve name lookups in the NFS client. 2009-10-16 19:30:48 +00:00
nfsserver
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto
pc98 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
pci
powerpc Increase the size of the OFW translations buffer to handle G5 systems 2009-11-09 14:26:23 +00:00
rpc Add a check for the connection being shut down to the krpc 2009-11-08 19:02:13 +00:00
security
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 Add MAP_ANONYMOUS. 2009-11-06 07:17:31 +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
vm Eliminate an unnecessary #include. (This #include should have been removed 2009-11-04 03:12:56 +00:00
xdr
xen
Makefile