freebsd-skq/sys
bmilekic 3650624f86 Add some KASSERTs valid if WITNESS is defined to verify that the mbuf
allocation routines are being called safely. Since we drop our relevant
mbuf mutex and acquire Giant before we call kmem_malloc(), we have
to make sure that this does not pave the way for a fatal lock order
reversal. Check that either Giant is already held (in which case it's safe
to grab it again and recurse on it) or, if Giant is not held, that no
other locks are held before we try to acquire Giant.

Similarily, add a KASSERT valid in the WITNESS case in m_reclaim() to
nail callers who end up in m_reclaim() and hold a lock.

Pointed out by: jhb
2001-01-16 01:53:13 +00:00
..
alpha Remove NOBLOCKRANDOM as a compile-time option. Instead, provide 2001-01-14 17:50:15 +00:00
amd64 - Fix atomic_load_* and atomic_store_* to generate functions for atomic.c 2001-01-16 00:18:36 +00:00
arm/include Remove seconds types we don't use that came in thru the NetBSD heiratage. 2001-01-08 06:17:11 +00:00
boot Add commented out examples for the new KTR loader tunables. 2001-01-06 06:52:49 +00:00
cam Use the residual from a spacing operation to try and figure out where 2001-01-16 00:53:45 +00:00
coda Delete unused #include <sys/select.h>. 2001-01-09 04:32:24 +00:00
compat Instead of hard coding the major numbers for IDE and SCSI disks 2001-01-14 23:33:50 +00:00
compile
conf Implement condition variables. 2001-01-16 01:00:43 +00:00
contrib Disable strstr() if ACPICA is compiled in userland. 2001-01-10 19:28:03 +00:00
crypto This commit was generated by cvs2svn to compensate for changes in r67957, 2000-10-30 11:03:32 +00:00
ddb Use macro API for <sys/queue.h> 2000-12-30 22:06:19 +00:00
dev Add was_fabric_dev/fabric_dev tags to our local FC database structure 2001-01-15 18:40:37 +00:00
fs Delete unused #include <sys/select.h>. 2001-01-09 04:32:24 +00:00
geom Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
gnu Completed move of Digiboard drivers to dev/dgb 2001-01-08 02:47:37 +00:00
i4b it seems that a commit to i4b/drivers/i4b_ispppsubr.c on 2000-01-12 has 2001-01-15 14:58:46 +00:00
i386 - Fix atomic_load_* and atomic_store_* to generate functions for atomic.c 2001-01-16 00:18:36 +00:00
ia64 Remove NOBLOCKRANDOM as a compile-time option. Instead, provide 2001-01-14 17:50:15 +00:00
isa select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
isofs/cd9660 Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
kern Add some KASSERTs valid if WITNESS is defined to verify that the mbuf 2001-01-16 01:53:13 +00:00
libkern Convert all instances of: 2001-01-12 07:28:46 +00:00
miscfs Don't compile a dead variable declaration. 2001-01-09 04:24:43 +00:00
modules Clean up Makefile, and remove the last vestiges of NOBLOCKRANDOM. 2001-01-15 19:35:00 +00:00
msdosfs Use macro API to <sys/queue.h> 2000-12-31 10:24:19 +00:00
net select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
netatalk * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netatm * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netgraph Add a generic "queued function callin" mechanism 2001-01-14 23:25:54 +00:00
netinet Prototype inet_ntoa_r and thereby silence a warning from GCC. The function 2001-01-12 07:47:53 +00:00
netinet6 do not touch ra_addr if it is NULL. from IIJ SEIL team 2001-01-02 15:17:19 +00:00
netipx * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netkey fixed possibility of panic at key_acquire(). 2001-01-14 17:25:08 +00:00
netnatm Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
netncp Common option '-N' do not require an argument. 2001-01-07 07:03:59 +00:00
netns * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
nfs NFS O_EXCL file create semantics temporarily uses file attributes to store 2001-01-04 22:45:19 +00:00
nfsclient NFS O_EXCL file create semantics temporarily uses file attributes to store 2001-01-04 22:45:19 +00:00
nfsserver * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
ntfs Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
nwfs v_interlock is a mutex now, not simple lock. 2000-11-04 02:42:11 +00:00
pc98 Remove NOBLOCKRANDOM as a compile-time option. Instead, provide 2001-01-14 17:50:15 +00:00
pccard Fix a minor bug that prevents NEWBUS users from setting more than 2001-01-09 23:39:32 +00:00
pci moved isp_pci.c from pci to dev/isp 2001-01-09 19:15:12 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc Remove unused per-cpu variables inside_intr and ss_eflags. 2001-01-12 07:47:54 +00:00
rpc
svr4 This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
sys Implement condition variables. 2001-01-16 01:00:43 +00:00
tools Simplify this a bit so that it doesn't have to generate silly redundant 2000-12-06 06:59:38 +00:00
ufs The ffs superblock includes a 128-byte region for use by temporary 2001-01-15 18:30:40 +00:00
vm fix comment which was outdated 3 years ago 2000-12-29 13:49:05 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00