aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2021-09-01 20:06:27 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2021-09-02 14:56:25 +0000
commitd1fe04cee8d7908640142a4c683bd806b8782b43 (patch)
tree35a8603984748d18f6ad185bad8983dc2f67148c
parentaa9d47d9de1a04280c2d734dccd8d44609678957 (diff)
downloadsrc-d1fe04cee8d7908640142a4c683bd806b8782b43.tar.gz
src-d1fe04cee8d7908640142a4c683bd806b8782b43.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 (cherry picked from commit 5647f85ade3ae1db042560a3354b6a9945d619a4)
-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