Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2021 20:13:39 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5647f85ade3a - main - Revert "arm: Bump KSTACK_PAGES default to match i386/amd64"
Message-ID:  <202109012013.181KDdH2094103@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
AuthorDate: 2021-09-01 20:06:27 +0000
Commit:     Kevin Bowling <kbowling@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109012013.181KDdH2094103>