pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rust - volunteers sought...



>> My next try is going to be with a kernel which has an increased
>> maximum stack size (MAXSSIZ), ref.
> 
> That doesn't appear to have had the desired effect:
> 
> arm64: {2} unlimit stacksize
> arm64: {3} limit
> ...
> stacksize    57344 kbytes
> ...
> arm64: {4} 
> 
> That's exactly what it was before.

It helps to do it in a way which works:

Index: sys/arch/evbarm/conf/GENERIC64
===================================================================
RCS file: /cvsroot/src/sys/arch/evbarm/conf/GENERIC64,v
retrieving revision 1.103.2.13
diff -u -r1.103.2.13 GENERIC64
--- sys/arch/evbarm/conf/GENERIC64      7 Jul 2020 10:29:06 -0000       1.103.2.13
+++ sys/arch/evbarm/conf/GENERIC64      16 May 2024 11:59:12 -0000
@@ -143,6 +143,10 @@
 #options       POOL_QUARANTINE # optional
 #options       KASAN_PANIC     # optional
 
+# Bump max stack size by 2x:
+# default is 1L<<26, ref aarch64/include/vmparam.h
+options                MAXSSIZ="(1L<<27)"
+
 makeoptions    DEBUG="-g"      # compile full symbol table
 makeoptions    COPY_SYMTAB=1
 
arm64: {29} limit
...
stacksize    114688 kbytes
...

Regards,

- Havard


Home | Main Index | Thread Index | Old Index