git: 5647f85ade3a - main - Revert "arm: Bump KSTACK_PAGES default to match i386/amd64"

Kevin Bowling kbowling at FreeBSD.org
Wed Sep 1 20:13:39 UTC 2021


The branch main has been updated by kbowling (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=5647f85ade3ae1db042560a3354b6a9945d619a4

commit 5647f85ade3ae1db042560a3354b6a9945d619a4
Author:     Kevin Bowling <kbowling at FreeBSD.org>
AuthorDate: 2021-09-01 20:06:27 +0000
Commit:     Kevin Bowling <kbowling at FreeBSD.org>
CommitDate: 2021-09-01 20:13:27 +0000

    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
---
 sys/arm/include/param.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the dev-commits-src-main mailing list