mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 19:09:16 -04:00
Approved by: rene (mentor, implicit) Security: https://vuxml.freebsd.org/freebsd/fd87a250-ff78-11ed-8290-a8a1599412c6.html
11 lines
531 B
C++
11 lines
531 B
C++
--- base/allocator/dispatcher/tls.h.orig 2023-05-31 08:12:17 UTC
|
|
+++ base/allocator/dispatcher/tls.h
|
|
@@ -50,7 +50,7 @@ struct BASE_EXPORT MMapAllocator {
|
|
partition_alloc::PartitionPageSize();
|
|
#elif BUILDFLAG(IS_APPLE)
|
|
constexpr static size_t AllocationChunkSize = 16384;
|
|
-#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)
|
|
+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
|
|
constexpr static size_t AllocationChunkSize = 16384;
|
|
#else
|
|
constexpr static size_t AllocationChunkSize = 4096;
|