Skip to content

feat: Enable pressure monitor in linux and for render process OS-20368#110

Merged
t-bashir-bs merged 2 commits into28-x-y-bsfrom
tbashir/28-x-y-bs-enable-memory-pressure-monitor-OS-20368
Dec 3, 2025
Merged

feat: Enable pressure monitor in linux and for render process OS-20368#110
t-bashir-bs merged 2 commits into28-x-y-bsfrom
tbashir/28-x-y-bs-enable-memory-pressure-monitor-OS-20368

Conversation

@t-bashir-bs
Copy link

Description of Change

Chromium has disabled memory pressure monitoring for Linux by default (https://chromium-review.googlesource.com/c/chromium/src/+/2792266). This patch re-enables it and also
cherry picks the QtWebEngine patch that enables memory pressure monitoring for the
Linux renderer processes from: https://cam-gerrit.brightsign.info/c/qtwebengine-chromium/+/15831

Checklist

Release Notes

Notes:

@t-bashir-bs t-bashir-bs force-pushed the tbashir/28-x-y-bs-enable-memory-pressure-monitor-OS-20368 branch from 883e1a8 to e305ba0 Compare December 2, 2025 17:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR re-enables memory pressure monitoring for Linux in Chromium, which was previously disabled by default. It also incorporates a QtWebEngine patch that enables memory pressure monitoring specifically for Linux renderer processes.

  • Adds Linux-specific memory pressure evaluator initialization
  • Enables memory pressure monitoring in renderer processes for Linux
  • Registers the new patch file in the Chromium patches list

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
patches/chromium/enable_memory_pressure_monitoring_and_enable_for_renderer_process.patch New patch file that re-enables memory pressure monitoring for Linux and adds renderer process support by modifying system_memory_pressure_evaluator.cc, render_thread_impl.cc, and render_thread_impl.h
patches/chromium/.patches Adds the new memory pressure monitoring patch to the list of Chromium patches to be applied

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@t-bashir-bs t-bashir-bs force-pushed the tbashir/28-x-y-bs-enable-memory-pressure-monitor-OS-20368 branch from e305ba0 to c3ef513 Compare December 3, 2025 11:08
@t-bashir-bs t-bashir-bs requested a review from Copilot December 3, 2025 11:54
…e-monitor-OS-20368

Signed-off-by: Tariq Bashir <120014322+t-bashir-bs@users.noreply.github.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@t-bashir-bs t-bashir-bs merged commit bdb3a66 into 28-x-y-bs Dec 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants