public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: Revert decommit pooled pages by default patch (fix random crash)
Date: Fri, 07 Aug 2026 16:07:11 GMT	[thread overview]
Message-ID: <178611883127.1.8242888826209907925.rpms-chromium-cc4c497ae7dc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : cc4c497ae7dc6c453c1382ffc11e86a53688e3f6
Author : Than Ngo <than@redhat.com>
Date   : 2024-11-23T20:30:27+01:00
Stats  : +40/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/cc4c497ae7dc6c453c1382ffc11e86a53688e3f6?branch=epel9-next

Log:
Revert decommit pooled pages by default patch (fix random crash)

---
diff --git a/chromium-131-revert-decommit-pooled-pages-by-default.patch b/chromium-131-revert-decommit-pooled-pages-by-default.patch
new file mode 100644
index 0000000..4639b41
--- /dev/null
+++ b/chromium-131-revert-decommit-pooled-pages-by-default.patch
@@ -0,0 +1,32 @@
+commit 1ab1a14ad97394d384d8dc6de51bb229625e66d6
+Author: Benoît Lizé <lizeb@chromium.org>
+Date:   Mon Sep 16 12:01:14 2024 +0200
+
+    [cppgc] Decommit pooled pages by default
+    
+    This reduces committed memory by a large amount, which matters on
+    Windows. See the field trial results, which measure committed memory:
+    https://screenshot.googleplex.com/kEBAScqJSEXuRoy
+    
+    Bug: chromium:326303884
+    Change-Id: I619257871bcdb7ed50a71f41af341d0df634428a
+    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5864909
+    Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
+    Reviewed-by: Anton Bikineev <bikineev@chromium.org>
+    Commit-Queue: Anton Bikineev <bikineev@chromium.org>
+    Auto-Submit: Benoit Lize <lizeb@chromium.org>
+    Cr-Commit-Position: refs/heads/main@{#96107}
+
+diff --git a/v8/src/flags/flag-definitions.h b/v8/src/flags/flag-definitions.h
+index 69946faf5ed..85c4b68612e 100644
+--- a/v8/src/flags/flag-definitions.h
++++ b/v8/src/flags/flag-definitions.h
+@@ -821,7 +821,7 @@ DEFINE_BOOL(trace_block_coverage, false,
+             "trace collected block coverage information")
+ DEFINE_BOOL(trace_protector_invalidation, false,
+             "trace protector cell invalidations")
+-DEFINE_BOOL(decommit_pooled_pages, false,
++DEFINE_BOOL(decommit_pooled_pages, true,
+             "decommit, rather than discard pooled pages")
+ 
+ #ifdef V8_MINORMS_STRING_SHORTCUTTING

diff --git a/chromium.spec b/chromium.spec
index c983e6f..7260d33 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -339,6 +339,9 @@ Patch141: chromium-118-dma_buf_export_sync_file-conflict.patch
 Patch150: chromium-124-qt6.patch
 Patch151: chromium-131-qt-ui.patch
 
+# revert, it causes ramdom crash on aarch64
+Patch300: chromium-131-revert-decommit-pooled-pages-by-default.patch
+
 # disable memory tagging (epel8 on aarch64) due to new feature IFUNC-Resolver
 # it is not supported in old glibc < 2.30, error: fatal error: 'sys/ifunc.h' file not found
 Patch305: chromium-124-el8-arm64-memory_tagging.patch
@@ -1057,6 +1060,10 @@ Qt6 UI for chromium.
 %patch -P151 -p1 -b .qt-ui
 %endif
 
+%ifarch aarch64 ppc64le
+%patch -P300 -p1 -R -b .revert-decommit-pooled-pages-by-default
+%endif
+
 %if 0%{?rhel} == 8
 %ifarch aarch64
 %patch -P305 -p1 -b .el8-memory_tagging
@@ -1934,6 +1941,7 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
 %changelog
 * Sat Nov 23 2024 Than Ngo <than@redhat.com> - 131.0.6778.85-2
 - Enable qt-ui
+- Workaround for random crash
 
 * Wed Nov 20 2024 Than Ngo <than@redhat.com> - 131.0.6778.85-1
 - Update to 131.0.6778.85

                 reply	other threads:[~2026-08-07 16:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178611883127.1.8242888826209907925.rpms-chromium-cc4c497ae7dc@fedoraproject.org \
    --to=than@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox