freebsd-nq/sys
Tor Egge 45f91051da Eliminate a deadlock that can occur during the cgaccount() processing due to
the cg map buffer being held when writing indirect blocks.  The process ends up
in ffs_copyonwrite(), attempting to get snaplk while holding the cg map buffer
lock.

Another process might be in ffs_copyonwrite(), trying to allocate a new block
for a copy.  It would hold snaplk while trying to get the cg map buffer lock.

Release the cg map buffer early and use the copy for most of the cgaccount
processing to avoid this deadlock.
2005-10-09 20:00:16 +00:00
..
alpha Remove the hack to clear the owepreempt flag after running a fast 2005-09-29 19:12:44 +00:00
amd64 Polling is now configured with help of ifconfig(8), not sysctl. 2005-10-07 09:23:51 +00:00
arm Export PAGE_SIZE from genassym.c, and include assym.s in bcopy_page.S, 2005-10-06 11:26:37 +00:00
boot MFi386: revision 1.33. 2005-09-30 13:24:14 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Make the exploring of all luns supported by an HBA more of a 2005-09-16 01:26:17 +00:00
coda Merge the dev_clone and dev_clone_cred event handlers into a single 2005-08-08 19:55:32 +00:00
compat Use the constants for the syscall names from syscall.h rather than 2005-10-03 18:34:17 +00:00
conf snd_ess needs snd_sbc, so add a note about that. 2005-10-07 06:32:11 +00:00
contrib Fix "struct ifnet" leak if attach() fails in the middle. 2005-09-16 12:49:06 +00:00
crypto Add VIA/ACE "PadLock" support as a crypto(9) driver. 2005-08-18 00:30:22 +00:00
ddb - Call db_setup_paging() for traceall. 2005-10-02 22:57:31 +00:00
dev Ue a better msleep identifier. Fix some whitespace. 2005-10-08 22:41:57 +00:00
doc
fs - Do not hardcode the bsize to a sectorsize of 2048, even though 2005-10-09 04:45:33 +00:00
gdb check return value of gdb_rx_varhex 2005-03-28 18:31:18 +00:00
geom Rough implementation of the create and add verbs. The verbs cause 2005-10-09 17:10:35 +00:00
gnu Back out alpha/alpha/trap.c:1.124, osf1_ioctl.c:1.14, osf1_misc.c:1.57, 2005-09-28 07:03:03 +00:00
i4b Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
i386 Polling is now configured with help of ifconfig(8), not sysctl. 2005-10-07 08:55:58 +00:00
ia64 Eliminate need for __RMAN_RESOURCE_VISIBLE 2005-10-06 17:39:18 +00:00
isa Fix an endianness issue in pnp_eisaformat(). This corrects printing PnP IDs 2005-09-28 15:01:58 +00:00
isofs/cd9660 - restore the ability to mount cd9660 filesystems as root by inverting 2005-08-14 04:19:36 +00:00
kern Add parse_uuid() that creates a binary representation of an UUID from 2005-10-07 13:37:10 +00:00
libkern Backout strtok() addition to libkern, strsep() is enough and strtok() 2005-10-06 19:06:07 +00:00
modules - Don't include opt_global.h, it is always included implicitly. 2005-10-05 10:07:27 +00:00
net A deja vu of: 2005-10-07 14:14:47 +00:00
net80211 Properly set ic_curchan before calling back to device driver to do channel 2005-08-30 14:27:47 +00:00
netatalk Forward declare atalkdomain with static linkage, not extern, since 2005-09-11 16:04:56 +00:00
netatm Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and 2005-08-09 10:20:02 +00:00
netgraph In ngt_input(), do not derefer sc (= (sc_p) tp->t_lsc) before making 2005-10-08 11:03:29 +00:00
netinet When bridging is enabled and an ARP request is recieved on a member interface, 2005-10-04 19:50:02 +00:00
netinet6 Use monotonic 'time_uptime' instead of 'time_second' as timebase 2005-09-19 22:54:55 +00:00
netipsec Replace custom mbuf writeability test with generic M_WRITABLE() test 2005-09-26 20:35:45 +00:00
netipx Forward declaring static variables as extern is invalid ISO-C. Now that 2005-09-07 10:06:14 +00:00
netkey SADB_UPDATE did not return an error when key length is invalid. 2005-08-22 07:05:14 +00:00
netnatm Forward declaring static variables as extern is invalid ISO-C. Now that 2005-09-07 10:06:14 +00:00
netncp Change API of mb_copy_t in libmchain so that netsmb can handle 2005-07-29 13:22:37 +00:00
netsmb Allow user to override default port numbers used by communication 2005-10-02 08:32:49 +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 - Use strsep() instead of strtok(). 2005-10-06 19:04:08 +00:00
nfsserver Use the refcount API to manage the reference count for user credentials 2005-09-27 18:09:42 +00:00
opencrypto Fix bogus check. It was possible to panic the kernel by giving 0 length. 2005-08-18 11:58:03 +00:00
pc98 Polling is now configured with help of ifconfig(8), not sysctl. 2005-10-07 09:23:51 +00:00
pccard Remove the kernel portion of OLDCARD. I'm working on a replacement 2005-09-25 21:29:32 +00:00
pci - Don't pollute opt_global.h with DEVICE_POLLING and introduce 2005-10-05 10:09:17 +00:00
posix4 Introduce MAC Framework and MAC Policy entry points to label and control 2005-05-04 10:39:15 +00:00
powerpc Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t 2005-09-28 14:54:07 +00:00
rpc Add GIANT_REQUIRED and WITNESS sleep warnings to uprintf() and tprintf(), 2005-09-19 16:51:43 +00:00
security Lock object while we iterate through it's backing objects. 2005-10-09 02:37:27 +00:00
sparc64 Add a new atomic_fetchadd() primitive that atomically adds a value to a 2005-09-27 17:39:11 +00:00
sys Add parse_uuid() that creates a binary representation of an UUID from 2005-10-07 13:37:10 +00:00
tools Add convenience macros for bus_space usage that doesn't require specification 2005-09-24 20:11:07 +00:00
ufs Eliminate a deadlock that can occur during the cgaccount() processing due to 2005-10-09 20:00:16 +00:00
vm As alc pointed out to me, vm_page.c 1.305 was incomplete: uma_startup() 2005-10-08 21:03:54 +00:00
Makefile When building cscopnamefile, default architecture to ${MACHINE}, not i386. 2005-03-08 00:09:41 +00:00