aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_allocator_partition__alloc__features.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-base_allocator_partition__alloc__features.cc')
-rw-r--r--www/iridium/files/patch-base_allocator_partition__alloc__features.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-base_allocator_partition__alloc__features.cc b/www/iridium/files/patch-base_allocator_partition__alloc__features.cc
new file mode 100644
index 000000000000..0cb21b8de789
--- /dev/null
+++ b/www/iridium/files/patch-base_allocator_partition__alloc__features.cc
@@ -0,0 +1,11 @@
+--- base/allocator/partition_alloc_features.cc.orig 2025-06-19 07:37:57 UTC
++++ base/allocator/partition_alloc_features.cc
+@@ -164,7 +164,7 @@ BASE_FEATURE(kPartitionAllocEventuallyZeroFreedMemory,
+ // disabled elsewhere (for now). Does not apply to Windows.
+ BASE_FEATURE(kPartitionAllocFewerMemoryRegions,
+ "PartitionAllocFewerMemoryRegions",
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ FEATURE_ENABLED_BY_DEFAULT);
+ #else
+ FEATURE_DISABLED_BY_DEFAULT);