mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 22:02:58 -04:00
arm64: do not disable the kern.kstack_pages tunable on arm64
(cherry picked from commit 39cddbd7a07c182c4f121bea5a6effa36862fc63)
This commit is contained in:
parent
3f5b4dd6cd
commit
d4ee047036
1 changed files with 6 additions and 2 deletions
|
|
@ -170,9 +170,13 @@ init_param1(void)
|
|||
{
|
||||
|
||||
TSENTER();
|
||||
#if !defined(__arm64__)
|
||||
|
||||
/*
|
||||
* arm64 and riscv currently hard-code the thread0 kstack size
|
||||
* to KSTACK_PAGES, ignoring the tunable.
|
||||
*/
|
||||
TUNABLE_INT_FETCH("kern.kstack_pages", &kstack_pages);
|
||||
#endif
|
||||
|
||||
hz = -1;
|
||||
TUNABLE_INT_FETCH("kern.hz", &hz);
|
||||
if (hz == -1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue