freebsd-dev/sys/i386/i386
Scott Long 316ec49abd Some kernel threads try to do significant work, and the default KSTACK_PAGES
doesn't give them enough stack to do much before blowing away the pcb.
This adds MI and MD code to allow the allocation of an alternate kstack
who's size can be speficied when calling kthread_create.  Passing the
value 0 prevents the alternate kstack from being created.  Note that the
ia64 MD code is missing for now, and PowerPC was only partially written
due to the pmap.c being incomplete there.
Though this patch does not modify anything to make use of the alternate
kstack, acpi and usb are good candidates.

Reviewed by:	jake, peter, jhb
2002-10-02 07:44:29 +00:00
..
apic_vector.s Ok, somebody please shoot me. The asm I wrote for the ranged IPI shootdown 2002-08-23 21:45:59 +00:00
atomic.c Introduce atomic_cmpset_int() and atomic_cmpset_long() from SMPng a 2000-09-06 11:21:14 +00:00
autoconf.c Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c 2002-09-22 00:59:02 +00:00
bios.c use __packed. 2002-09-23 18:54:32 +00:00
bioscall.s Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
busdma_machdep.c Don't use "NULL" when "0" is really meant. 2002-08-21 23:39:52 +00:00
critical.c Remove the critmode sysctl - the new method for critical_enter/exit (already 2002-07-10 20:15:58 +00:00
db_disasm.c Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-23 14:27:06 +00:00
db_interface.c Code tidy-up. ISOfy, turn a macro into an inline for lint(1) (perhaps 2002-09-21 18:53:58 +00:00
db_trace.c fork_trampoline() marks a trap frame. 2002-09-20 13:58:21 +00:00
dump_machdep.c Unbreak kernel build by printing Maxmem using %ld instead of old (now changed) 2002-08-30 06:13:39 +00:00
elan-mmcr.c Add /dev/soekris-errled device to control the Error-LED on Soekris cards/boxes. 2002-09-17 11:47:38 +00:00
elf_machdep.c Added fields for VM_MIN_ADDRESS, PS_STRINGS and stack protections to 2002-09-01 21:41:24 +00:00
exception.s Unwind the syscall_with_err_pushed tweak that jake did some time back. 2002-07-28 00:27:51 +00:00
genassym.c Add kernel support needed for the KSE-aware libpthread: 2002-09-16 19:25:08 +00:00
i386-gdbstub.c Backed out the main part of revs.1.14-16. Don't disable interrupts in 2002-01-30 18:51:24 +00:00
i686_mem.c This patch enables FreeBSD i686 MTRR support on Intel Pentium 2002-09-19 18:53:49 +00:00
identcpu.c Change the support for AMDs ElanSC520 CPU from being a device driver to 2002-09-04 19:43:22 +00:00
in_cksum.c Fix several bugs in the i386 asm statements used to speed up Internet 2002-06-22 22:35:53 +00:00
initcpu.c Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
k6_mem.c Some BIOSs are using MTRR values that are only documented under NDA 2002-09-15 15:07:55 +00:00
legacy.c - Give legacy an identify routine that always adds 'legacy0' at an order 2002-09-30 18:47:11 +00:00
locore.s Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
machdep.c Save the FP state in the PCB as that is compatable with releng4 binaries. 2002-09-30 07:02:22 +00:00
math_emu.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
math_emulate.c Use suword16/fuword16 instead of susword/fusword - this has two different 2002-06-20 07:23:08 +00:00
mem.c A good dose of style.9. No functional change. 2002-09-21 19:02:17 +00:00
mp_clock.c Don't export timecounter structures under debug. with sysctl, they 2002-04-30 19:34:31 +00:00
mp_machdep.c Turn back on the "SMP: AP CPU #N Launched!" message on normal boots. 2002-09-30 15:39:57 +00:00
mpapic.c Use a function instead of a non-portable, GCC-specific asm() entry. 2002-09-21 19:03:42 +00:00
mpboot.s Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00
mptable.c Turn back on the "SMP: AP CPU #N Launched!" message on normal boots. 2002-09-30 15:39:57 +00:00
nexus.c - Give legacy an identify routine that always adds 'legacy0' at an order 2002-09-30 18:47:11 +00:00
perfmon.c Fix abuses of cpu_critical_{enter,exit} by converting to 2002-03-21 06:19:08 +00:00
pmap.c Some kernel threads try to do significant work, and the default KSTACK_PAGES 2002-10-02 07:44:29 +00:00
support.s Create inlines for ltr(sel), lldt(sel), lidt(addr) rather than 2002-09-22 04:45:21 +00:00
swtch.s Move SWTCH_OPTIM_STATS related code out of cpufunc.h. (This sort of stat 2002-07-21 05:22:16 +00:00
symbols.raw $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sys_machdep.c Deal with some SMP races by doing the entire copyin at once rather 2002-09-28 22:44:45 +00:00
trap.c Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
tsc.c Fix a 3 year old oversight: Remove the #ifdef/#endif pair now that there 2002-09-21 07:59:06 +00:00
vm86.c Be specific about which reason caused vm86_addpages to panic 2002-07-12 08:15:42 +00:00
vm86bios.s Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
vm_machdep.c Add kernel support needed for the KSE-aware libpthread: 2002-09-16 19:25:08 +00:00