feat: Enable pressure monitor in linux and for render process OS-20368#110
Merged
t-bashir-bs merged 2 commits into28-x-y-bsfrom Dec 3, 2025
Merged
Conversation
883e1a8 to
e305ba0
Compare
There was a problem hiding this comment.
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.
patches/chromium/enable_memory_pressure_monitoring_and_enable_for_renderer_process.patch
Outdated
Show resolved
Hide resolved
patches/chromium/enable_memory_pressure_monitoring_and_enable_for_renderer_process.patch
Show resolved
Hide resolved
patches/chromium/enable_memory_pressure_monitoring_and_enable_for_renderer_process.patch
Outdated
Show resolved
Hide resolved
patches/chromium/enable_memory_pressure_monitoring_and_enable_for_renderer_process.patch
Show resolved
Hide resolved
e305ba0 to
c3ef513
Compare
…e-monitor-OS-20368 Signed-off-by: Tariq Bashir <120014322+t-bashir-bs@users.noreply.github.com>
There was a problem hiding this comment.
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.
caneraltinbasak
approved these changes
Dec 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
npm testpassesRelease Notes
Notes: