This commit is contained in:
Alexey Milovidov 2024-05-20 08:37:48 +02:00
parent 6c51b771c5
commit 9fefece70b

View File

@ -23,12 +23,8 @@ thread_local ThreadStatus constinit * current_thread = nullptr;
namespace namespace
{ {
#if defined(__aarch64__)
/// For aarch64 16K is not enough (likely due to tons of registers) /// For aarch64 16K is not enough (likely due to tons of registers)
static constexpr size_t UNWIND_MINSIGSTKSZ = 32 << 10; constexpr size_t UNWIND_MINSIGSTKSZ = 32 << 10;
#else
static constexpr size_t UNWIND_MINSIGSTKSZ = 16 << 10;
#endif
/// Alternative stack for signal handling. /// Alternative stack for signal handling.
/// ///