aboutsummaryrefslogtreecommitdiff
path: root/sys/arm
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2021-09-01 20:06:27 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2021-09-01 20:13:27 +0000
commit5647f85ade3ae1db042560a3354b6a9945d619a4 (patch)
treedec4607bd9dbe1e5a8964e4d4599722145b6db83 /sys/arm
parentc62aa65b2a7a6492e712a69c58a35347aa441a98 (diff)
downloadsrc-5647f85ade3ae1db042560a3354b6a9945d619a4.tar.gz
src-5647f85ade3ae1db042560a3354b6a9945d619a4.zip
Revert "arm: Bump KSTACK_PAGES default to match i386/amd64"
This reverts commit b684d812fcb04b2997fd755405a92c36b9f6e30e. It causes an issue on a pfsense routing workload where memory fragmentation prevents the necessary consecutive pages from being readily available. Reported by: pfsense (mjg, scottl) Approved by: ian MFC after: 1 day Differential Revision: https://reviews.freebsd.org/D31244
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h
index 45dc0f270c50..807b492324fa 100644
--- a/sys/arm/include/param.h
+++ b/sys/arm/include/param.h
@@ -114,7 +114,7 @@
#define MAXPAGESIZES 2 /* maximum number of supported page sizes */
#ifndef KSTACK_PAGES
-#define KSTACK_PAGES 4
+#define KSTACK_PAGES 2
#endif /* !KSTACK_PAGES */
#ifndef FPCONTEXTSIZE