summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-10-24 20:28:42 +0000
committermarcel <marcel@FreeBSD.org>2009-10-24 20:28:42 +0000
commitdb77e6c4a7df4606d5d6c6fadc304b114c7965f5 (patch)
tree81d6087940b3870cf7e1ddff9db226e8de3d4e8e /sys/ia64/include
parentfff54c20f84661344a6dce3dcfaf0d3c6174a0f4 (diff)
downloadFreeBSD-src-db77e6c4a7df4606d5d6c6fadc304b114c7965f5.zip
FreeBSD-src-db77e6c4a7df4606d5d6c6fadc304b114c7965f5.tar.gz
A 32KB kernel stack is not quite enough. The new USB stack is a bit
more stack hungry as compared to the old one that my RX2660 gets a machine check and spontaneously reboots at the time the USB DVD drive is found and attached to CAM as a mass storage device. This doesn't happen always, but definitely varies per kernel build. Likewise when using a 128-byte printf buffer. The additional 128 bytes that printf needs seems to be enough to have the memory stack and register stack collide and causing a machine check. Thus: Bump KSTACK_PAGES from 4 to 5.
Diffstat (limited to 'sys/ia64/include')
-rw-r--r--sys/ia64/include/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/param.h b/sys/ia64/include/param.h
index 331af7a..4c8e8b9 100644
--- a/sys/ia64/include/param.h
+++ b/sys/ia64/include/param.h
@@ -92,7 +92,7 @@
#define MAXPAGESIZES 1 /* maximum number of supported page sizes */
#ifndef KSTACK_PAGES
-#define KSTACK_PAGES 4 /* pages of kernel stack */
+#define KSTACK_PAGES 5 /* pages of kernel stack */
#endif
#define KSTACK_GUARD_PAGES 0 /* pages of kstack guard; 0 disables */
OpenPOWER on IntegriCloud