freebsd-nq/sys
Bill Paul e34e2a168a The Intel 2200BG NDIS driver does an alloca() of about 5000 bytes
when it associates with a net. Because FreeBSD's kstack size is only
2 pages by default, this blows the stack and causes a double fault.

To deal with this, we now create all our kthreads with 8 stack pages.
Also, we now run all timer callouts in the ndis swi thread (since
they would otherwise run in the clock ithread, whose stack is too
small). It happens that the alloca() in this case was occuring within
the interrupt handler, which was already running in the ndis swi
thread, but I want to deal with the callouts too just to be extra
safe.

NOTE: this will only work if you update vm_machdep.c with the change
I just committed. If you don't include this fix, setting the number
of stack pages with kthread_create() has essentially no effect.
2004-03-22 00:41:41 +00:00
..
alpha - Add uiomove_fromphys() implementations to alpha and ia64. These only 2004-03-20 21:06:20 +00:00
amd64 - Add uiomove_fromphys() implementations to alpha and ia64. These only 2004-03-20 21:06:20 +00:00
arm Introduce the cpumask_t type. The purpose of the type is to create a 2004-03-20 20:41:40 +00:00
boot MFi386: revision 1.29. 2004-03-14 09:43:15 +00:00
cam Compare the *number* of patterns to zero, not the *pointer* to the 2004-02-28 12:59:56 +00:00
coda Device megapatch 5/6: 2004-02-21 21:32:15 +00:00
compat The Intel 2200BG NDIS driver does an alloca() of about 5000 bytes 2004-03-22 00:41:41 +00:00
conf Add an implementation of uiomove_fromphys() for i386. This implementation 2004-03-21 20:28:36 +00:00
contrib Check in files off the vendor branch as well as files with local patches. 2004-03-18 17:46:27 +00:00
crypto Fix a reentrancy issue in md5_calc(). 2004-01-27 18:57:21 +00:00
ddb Give DDB a "watchdog" command which disables all watchdogs. 2004-02-29 09:55:32 +00:00
dev Make if_ndis_pci.c and if_ndis_pccard.c use bus_alloc_resource() again 2004-03-21 19:56:41 +00:00
fs Don't reject FAT file systems with a number of "Heads" greater than 2004-03-14 23:28:12 +00:00
geom Move "is consumer attached?" check before G_VALID_PROVIDER() check, 2004-03-18 07:17:10 +00:00
gnu Properly vector all bwrite() and BUF_WRITE() calls through the same path 2004-03-11 18:02:36 +00:00
i4b Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
i386 The kthread_create() API is supposed to allow you to create threads 2004-03-22 00:28:38 +00:00
ia64 In breakpoint(), use a different immediate to make sure we can 2004-03-21 01:41:29 +00:00
isa Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
isofs/cd9660 Remove unused second arg to vfinddev(). 2004-03-11 16:33:11 +00:00
kern Give a more reasonable CPU time to the threads which are using scheduler 2004-03-21 18:53:29 +00:00
libkern These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
modules Add uart_subr.c 2004-03-20 22:41:52 +00:00
net - Correct variable name. 2004-03-21 17:27:41 +00:00
net80211 Add explicit dependency on "ether", since we use ether_ifattach(). 2004-03-16 19:25:55 +00:00
netatalk Spell "(struct foo *)0" as "NULL". 2004-03-21 03:28:08 +00:00
netatm These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
netgraph Make the vaule of PTT_RELAY_SID match the RFC. This should help PPPoE 2004-03-18 12:34:14 +00:00
netinet - Fix indentation lost by 'diff -b'. 2004-03-21 18:51:26 +00:00
netinet6 Move the AH algorithm list from a static local function variable to 2004-03-10 04:56:54 +00:00
netipsec Fix type in a sysctl. It used to be: net.key.prefered_oldsa 2004-02-16 17:09:53 +00:00
netipx Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netkey avoid duplicate free. 2004-01-25 17:18:12 +00:00
netnatm Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netncp Make the process_exit eventhandler run without Giant. Add Giant hooks 2004-03-14 02:06:28 +00:00
netsmb Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
nfs
nfs4client Properly vector all bwrite() and BUF_WRITE() calls through the same path 2004-03-11 18:02:36 +00:00
nfsclient Add a comment with an explanation why we don't report EPIPE errors on 2004-03-17 21:10:20 +00:00
nfsserver Calculate NFS timeouts in units of 10ms, not 5ms. This matches the default 2004-03-14 06:21:56 +00:00
opencrypto kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +00:00
pc98 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pccard Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pci solid reports that it is buggy *and* that it slows down transmit 2004-03-19 23:20:23 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Introduce the cpumask_t type. The purpose of the type is to create a 2004-03-20 20:41:40 +00:00
rpc Calculate NFS timeouts in units of 10ms, not 5ms. This matches the default 2004-03-14 06:21:56 +00:00
security Define BPFD_LOCK_ASSERT() to assert the BPF descriptor lock. 2004-02-29 15:33:56 +00:00
sparc64 Introduce the cpumask_t type. The purpose of the type is to create a 2004-03-20 20:41:40 +00:00
sys Introduce the cpumask_t type. The purpose of the type is to create a 2004-03-20 20:41:40 +00:00
tools Attempt to clean up the emu10k1-alsa.h stuff so that config doesn't 2004-02-05 22:51:16 +00:00
ufs Avoid doing bawrite to initialize inode block while holding cylinder 2004-03-16 22:06:32 +00:00
vm When mmap-ing a file from a noexec mount, be sure not to grant the right 2004-03-18 20:58:51 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00