opnsense-src/sys
Bosko Milekic 0d0837ee6d Introduce debug.nosleepwithlocks sysctl, 0 by default. If set to 1
and WITNESS is not built, then force all M_WAITOK allocations to
M_NOWAIT behavior (transparently).  This is to be used temporarily
if wierd deadlocks are reported because we still have code paths
that perform M_WAITOK allocations with lock(s) held, which can
lead to deadlock.  If WITNESS is compiled, then the sysctl is ignored
and we ask witness to tell us wether we have locks held, converting
to M_NOWAIT behavior only if it tells us that we do.

Note this removes the previous mbuf.h inclusion as well (only needed
by last revision), and cleans up unneeded [artificial] comparisons
to just the mbuf zones.  The problem described above has nothing to
do with previous mbuf wait behavior; it is a general problem.
2004-07-04 16:07:44 +00:00
..
alpha Implement preemption of kernel threads natively in the scheduler rather 2004-07-02 20:21:44 +00:00
amd64 Implement preemption of kernel threads natively in the scheduler rather 2004-07-02 20:21:44 +00:00
arm ithread_schedule() now only takes one argument. 2004-07-02 22:30:42 +00:00
boot Fixed what appeared to be a hard sentence break. 2004-07-02 21:49:22 +00:00
cam Revert rev 1.140, it was a bit pre-mature. 2004-06-21 19:01:55 +00:00
coda When we traverse the vnodes on a mountpoint we need to look out for 2004-07-04 08:52:35 +00:00
compat Implement SNDCTL_DSP_SETDUPLEX. This may fix sound apps which want to 2004-07-02 15:31:44 +00:00
conf By popular request, add a workaround that allows large (>128GB or so) 2004-07-03 13:22:38 +00:00
contrib Local change: Allow access to the field if it is within the region 2004-07-02 08:38:55 +00:00
crypto Use __FBSDID(). 2004-06-14 00:38:54 +00:00
ddb Fixed DDB_NOKLDSYM on amd64's: 2004-05-18 05:30:06 +00:00
dev Add device ID for atuwi USB wlan driver, Linksys WUSB11 v2.8 wireless adapter. 2004-07-04 09:13:53 +00:00
fs When we traverse the vnodes on a mountpoint we need to look out for 2004-07-04 08:52:35 +00:00
geom We only need to check for overlaps if we increasing access counts. 2004-07-04 13:44:48 +00:00
gnu When we traverse the vnodes on a mountpoint we need to look out for 2004-07-04 08:52:35 +00:00
i4b Be BURN_BRIDGES compliant 2004-06-21 21:59:00 +00:00
i386 Don't define __RMAN_RESOURCE_VISISBLE. They aren't needed here after 2004-07-03 20:11:49 +00:00
ia64 Implement preemption of kernel threads natively in the scheduler rather 2004-07-02 20:21:44 +00:00
isa Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
isofs/cd9660 Remove "register" keyword and trailing white space. 2004-07-03 16:56:45 +00:00
kern Blocksize for I/O should be a property of the vnode and not found by groping 2004-07-04 12:49:04 +00:00
libkern Import libkern arm specific bits. 2004-05-14 12:28:31 +00:00
modules By popular request, add a workaround that allows large (>128GB or so) 2004-07-03 13:22:38 +00:00
net The net.link.ether.bridge.enable sysctl MIB variable enables bridge 2004-07-04 15:53:28 +00:00
net80211 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netatalk Socket MAC labels so_label and so_peerlabel are now protected by 2004-06-13 02:50:07 +00:00
netatm The socket field so_state is used to hold a variety of socket related 2004-06-14 18:16:22 +00:00
netgraph Remove the home-grown metadata facility in favour of the now generic 2004-06-30 22:51:29 +00:00
netinet Add LibAliasOutTry() which checks a packet for a hit in the tables, but 2004-07-04 12:53:07 +00:00
netinet6 Link ALTQ to the build and break with ABI for struct ifnet. Please recompile 2004-06-13 17:29:10 +00:00
netipsec Add required includes for post-sorwakeup() change to fix FAST_IPSEC 2004-06-23 01:58:22 +00:00
netipx Acquire the receive socket buffer lock when modifying out-of-band 2004-06-24 04:29:53 +00:00
netkey Merge next step in socket buffer locking: 2004-06-21 00:20:43 +00:00
netnatm Constify send and receive space constants in natm. 2004-06-24 03:11:29 +00:00
netncp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
netsmb Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client When we traverse the vnodes on a mountpoint we need to look out for 2004-07-04 08:52:35 +00:00
nfsclient When we traverse the vnodes on a mountpoint we need to look out for 2004-07-04 08:52:35 +00:00
nfsserver Change M_WAITOK argument to sodupsockaddr() to M_NOWAIT. When the call 2004-07-03 19:17:06 +00:00
opencrypto Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pc98 MFi386: revision 1.1163 2004-07-01 09:34:15 +00:00
pccard Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pci SMPng locking cleanup for vr(4). 2004-07-03 02:59:02 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Implement preemption of kernel threads natively in the scheduler rather 2004-07-02 20:21:44 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security Introduce a temporary mutex, mac_ifnet_mtx, to lock MAC labels on 2004-06-24 03:34:46 +00:00
sparc64 These don't need RMAN_RESOURCE_VISIBLE now that rman is visible 2004-07-03 20:56:16 +00:00
sys Blocksize for I/O should be a property of the vnode and not found by groping 2004-07-04 12:49:04 +00:00
tools Complete quirk handling script by matching the in-kernel table format. 2004-06-30 04:40:20 +00:00
ufs When we traverse the vnodes on a mountpoint we need to look out for 2004-07-04 08:52:35 +00:00
vm Introduce debug.nosleepwithlocks sysctl, 0 by default. If set to 1 2004-07-04 16:07:44 +00:00
Makefile Try harder not to compile anything in sys/boot for arm. 2004-05-16 00:19:12 +00:00