freebsd-skq/sys
Robert Watson 2450bbb872 Move the unlocking of the zone mutex in sysctl_vm_zone_stats() so that
it covers the following of the uc_alloc/freebucket cache pointers.
Originally, I felt that the race wasn't helped by holding the mutex,
hence a comment in the code and not holding it across the cache access.
However, it does improve consistency, as while it doesn't prevent
bucket exchange, it does prevent bucket pointer invalidation.  So a
race in gathering cache free space statistics still can occur, but not
one that follows an invalid bucket pointer, if the mutex is held.

Submitted by:	yongari
MFC after:	1 week
2005-07-16 09:40:34 +00:00
..
alpha Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
amd64 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
arm Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
boot Add -mno-sse3 for prescott/nocona 2005-07-15 12:22:14 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
coda - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
compat Regen. 2005-07-13 20:35:09 +00:00
conf Add -mno-sse3 for prescott/nocona 2005-07-15 11:45:30 +00:00
contrib Export pfsyncstats via sysctl "net.inet.pfsync" in order to print them with 2005-07-14 22:22:51 +00:00
crypto gbde(8) is also rejndael user. 2005-03-11 22:07:04 +00:00
ddb Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
dev Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
doc
fs When devfs cloning takes place, provide access to the credential of the 2005-07-14 10:22:09 +00:00
gdb check return value of gdb_rx_varhex 2005-03-28 18:31:18 +00:00
geom Merged from geom_mbr.c revisions 1.62 and 1.66. 2005-07-15 15:29:45 +00:00
gnu Repair this: 2005-07-09 18:30:31 +00:00
i4b Fix some long standing bugs in writing to the BPF device attached to 2005-06-26 18:11:11 +00:00
i386 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
ia64 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
isa Fixup some more fallout from the lapic/i8254 changes: 2005-07-13 15:43:21 +00:00
isofs/cd9660 - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
kern Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
libkern Fix kiconv on the 64bit plathomes. 2005-05-24 15:38:08 +00:00
modules Add missing reference to ukbdmap.h 2005-07-16 09:18:03 +00:00
net Fix for PR 82974. We were not checking that the route looked up in 2005-07-15 09:18:34 +00:00
net80211 Handle encrypt of arbitarily fragmented mbuf chains: previously 2005-07-11 03:06:23 +00:00
netatalk Eliminate MAC entry point mac_create_mbuf_from_mbuf(), which is 2005-07-05 23:39:51 +00:00
netatm Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netgraph Remove obsoleted sysctl interface for switching between standard and 3Com 2005-07-05 17:51:02 +00:00
netinet Export pfsyncstats via sysctl "net.inet.pfsync" in order to print them with 2005-07-14 22:22:51 +00:00
netinet6 Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
netipsec Correct typo in a comment describing vshiftl(). 2005-06-02 23:56:10 +00:00
netipx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netkey
netnatm
netncp
netsmb lockmgr(...,LK_DRAIN,...) requires a balancing LK_RELEASE: recent 2005-05-13 11:27:48 +00:00
nfs Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfs4client - We want if (mrep != NULL) not if (m_freem != NULL). m_freem will never 2005-04-25 05:11:19 +00:00
nfsclient Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfsserver NFS write gathering defers execution of NFS server write requests to wait 2005-04-17 16:25:36 +00:00
opencrypto malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
pc98 Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
pccard Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
pci NET_LOCK_GIANT() when entering network code. 2005-07-13 14:06:13 +00:00
posix4 Introduce MAC Framework and MAC Policy entry points to label and control 2005-05-04 10:39:15 +00:00
powerpc Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
rpc - Don't call rpcclnt_realign() if we don't have any mbufs to realign. 2005-03-19 01:16:25 +00:00
security Bump the module versions of the MAC Framework and MAC policy modules 2005-07-14 10:46:03 +00:00
sparc64 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
sys Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
tools Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
ufs Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
vm Move the unlocking of the zone mutex in sysctl_vm_zone_stats() so that 2005-07-16 09:40:34 +00:00
Makefile When building cscopnamefile, default architecture to ${MACHINE}, not i386. 2005-03-08 00:09:41 +00:00