git: b3480da08762 - stable/12 - Revert "arm: Bump KSTACK_PAGES default to match i386/amd64"

Kevin Bowling kbowling at FreeBSD.org
Thu Sep 2 14:57:05 UTC 2021


The branch stable/12 has been updated by kbowling (ports committer):

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

commit b3480da0876299485a393b546e68abe4fa698090
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-02 14:56:55 +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
    
    (cherry picked from commit 5647f85ade3ae1db042560a3354b6a9945d619a4)
---
 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 8ba4963406b3..39dcc5e341bf 100644
--- a/sys/arm/include/param.h
+++ b/sys/arm/include/param.h
@@ -124,7 +124,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-all mailing list