freebsd-dev/sys
Bruce Evans add4ae9324 Fixed (?) races in mark_buffer_dirty(). We abuse the buffer cache
by hacking on locked buffers without getblk()ing them, and we didn't
even use splbio() to prevent biodone() changing the buffer underneath
use when a write completes.  I think there was no problem in practice
on i386's because the operations on b_flags and numdirtybufs happen to
be atomic.  We still depend on biodone()'s operations on b_flags not
interfering with ours.  I think there is only interference for B_ERROR,
and this is harmless because errors for async writes are ignored anyway.

Don't use mark_buffer_dirty() except for superblock-related metadata.
It was used in just one case where ordinary BSD buffering is more
natural.
1998-06-21 21:06:04 +00:00
..
alpha The isa device configuration hook was especially useless here. 1998-06-17 15:55:22 +00:00
amd64 Removed unused includes. 1998-06-21 18:02:50 +00:00
compat This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
compile
conf Moved P1003 options from the middle of the devices section to the 1998-06-21 13:36:53 +00:00
contrib/softupdates Note which version of Kirk's sources this corresponds to. 1998-06-12 21:21:26 +00:00
ddb Add initial support for the FreeBSD/alpha kernel. This is very much a 1998-06-10 10:57:29 +00:00
dev Removed unused includes. 1998-06-21 18:02:50 +00:00
fs Avoid a 64-bit division in procfs_readdir(). Fixed related overflows. 1998-06-14 12:53:39 +00:00
geom This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
gnu Fixed (?) races in mark_buffer_dirty(). We abuse the buffer cache 1998-06-21 21:06:04 +00:00
i386 Removed unused includes. 1998-06-21 18:02:50 +00:00
isa Don't log "unexpected" events on never-opened devices. Events left 1998-06-16 11:05:59 +00:00
isofs/cd9660 This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
kern Removed unused includes. 1998-06-21 18:02:50 +00:00
libkern Add initial support for the FreeBSD/alpha kernel. This is very much a 1998-06-10 10:57:29 +00:00
miscfs Removed unused includes. 1998-06-21 14:53:44 +00:00
modules Removed reference to obsolete file "README.iBCS2". 1998-05-19 03:31:34 +00:00
msdosfs Back out previous change. This behavior is at least completely 1998-06-10 13:46:46 +00:00
net Removed unused includes. 1998-06-21 14:53:44 +00:00
netatalk Go through the loopback code with a broom.. 1998-06-12 03:48:19 +00:00
netinet Removed unused includes. 1998-06-21 14:53:44 +00:00
netipx When system act as IPX router (sysctl -w net.ipx.ipx.ipxforwarding=1, 1998-06-10 12:52:11 +00:00
netkey Really make this compile.. 1998-04-06 05:11:42 +00:00
netnatm This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
netns Make INET a proper option. 1998-01-08 23:42:31 +00:00
nfs Fixed typo in ifdefed code. (NFS_ACDEBUG is not in LINT. Therefore, 1998-06-21 12:50:12 +00:00
nfsclient Fixed typo in ifdefed code. (NFS_ACDEBUG is not in LINT. Therefore, 1998-06-21 12:50:12 +00:00
nfsserver Fixed typo in ifdefed code. (NFS_ACDEBUG is not in LINT. Therefore, 1998-06-21 12:50:12 +00:00
pc98 Removed unused includes. 1998-06-21 18:02:50 +00:00
pccard Changed the type of an isa/general interrupt handler to take a 1998-06-18 15:32:09 +00:00
pci Removed unused includes. 1998-06-21 18:02:50 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Major changes to the generic device framework for FreeBSD/alpha: 1998-06-14 13:46:10 +00:00
rpc
scsi Added used include of "ioconf.h" - don't depend on pollution in 1998-06-17 14:13:15 +00:00
sys Converted add_interrupt_randomness() to take a `void *' arg. Rewrote 1998-06-21 11:33:32 +00:00
tools Use __inline instead of inline to prevent pedantic compiler warnings. 1997-12-19 23:25:16 +00:00
ufs Removed unused includes. 1998-06-21 14:53:44 +00:00
vm Removed unused includes. 1998-06-21 18:02:50 +00:00
Makefile Test for the existance of ${MACHINE}/boot before trying to build it. 1998-02-20 07:37:08 +00:00