Date: Wed, 2 Oct 2002 00:44:29 -0700 (PDT) From: Scott Long <scottl@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha pmap.c src/sys/conf NOTES options src/sys/dev/aac aac.c src/sys/dev/acpica acpi_thermal.c src/sys/dev/acpica/Osd OsdSchedule.c src/sys/dev/ata ata-raid.c src/sys/dev/isp isp_freebsd.c src/sys/dev/md md.c ... Message-ID: <200210020744.g927iT6V086752@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
scottl 2002/10/02 00:44:29 PDT Modified files: sys/alpha/alpha pmap.c sys/conf NOTES options sys/dev/aac aac.c sys/dev/acpica acpi_thermal.c sys/dev/acpica/Osd OsdSchedule.c sys/dev/ata ata-raid.c sys/dev/isp isp_freebsd.c sys/dev/md md.c sys/dev/pccbb pccbb.c sys/dev/pcic i82365.c sys/dev/random randomdev.c sys/dev/usb usb_port.h sys/i386/i386 pmap.c sys/i386/linux linux_machdep.c sys/kern init_main.c kern_fork.c kern_idle.c kern_intr.c kern_kthread.c kern_ktrace.c kern_proc.c kern_thread.c vfs_aio.c sys/netsmb smb_iod.c sys/nfsclient nfs_nfsiod.c sys/powerpc/powerpc pmap.c sys/sparc64/sparc64 pmap.c sys/sys kthread.h proc.h sys/vm pmap.h Log: 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 Revision Changes Path 1.109 +61 -10 src/sys/alpha/alpha/pmap.c 1.1086 +2 -0 src/sys/conf/NOTES 1.354 +1 -0 src/sys/conf/options 1.43 +1 -1 src/sys/dev/aac/aac.c 1.21 +1 -1 src/sys/dev/acpica/Osd/OsdSchedule.c 1.28 +1 -1 src/sys/dev/acpica/acpi_thermal.c 1.50 +1 -1 src/sys/dev/ata/ata-raid.c 1.87 +1 -1 src/sys/dev/isp/isp_freebsd.c 1.71 +1 -1 src/sys/dev/md/md.c 1.56 +1 -1 src/sys/dev/pccbb/pccbb.c 1.36 +1 -1 src/sys/dev/pcic/i82365.c 1.37 +1 -1 src/sys/dev/random/randomdev.c 1.58 +2 -2 src/sys/dev/usb/usb_port.h 1.367 +68 -16 src/sys/i386/i386/pmap.c 1.30 +1 -1 src/sys/i386/linux/linux_machdep.c 1.211 +1 -1 src/sys/kern/init_main.c 1.168 +9 -4 src/sys/kern/kern_fork.c 1.28 +2 -2 src/sys/kern/kern_idle.c 1.83 +1 -1 src/sys/kern/kern_intr.c 1.28 +3 -3 src/sys/kern/kern_kthread.c 1.79 +1 -1 src/sys/kern/kern_ktrace.c 1.158 +9 -0 src/sys/kern/kern_proc.c 1.35 +1 -1 src/sys/kern/kern_thread.c 1.139 +1 -1 src/sys/kern/vfs_aio.c 1.7 +1 -1 src/sys/netsmb/smb_iod.c 1.76 +1 -1 src/sys/nfsclient/nfs_nfsiod.c 1.48 +26 -4 src/sys/powerpc/powerpc/pmap.c 1.85 +64 -14 src/sys/sparc64/sparc64/pmap.c 1.8 +1 -1 src/sys/sys/kthread.h 1.265 +5 -1 src/sys/sys/proc.h 1.50 +3 -1 src/sys/vm/pmap.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210020744.g927iT6V086752>