aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_allocator_dispatcher_tls.h
blob: b3403f22a21fe4fd9b8042d8b449b041a55712d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/allocator/dispatcher/tls.h.orig	2023-11-03 10:09:45 UTC
+++ base/allocator/dispatcher/tls.h
@@ -74,7 +74,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;