Skip to content

RDKEMW-17526: Disable GPU memory accounting for service workers#3912

Open
asurdej-comcast wants to merge 1 commit intosupport/8.5.3.0from
feature/RDKEMW-18143
Open

RDKEMW-17526: Disable GPU memory accounting for service workers#3912
asurdej-comcast wants to merge 1 commit intosupport/8.5.3.0from
feature/RDKEMW-18143

Conversation

@asurdej-comcast
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 7, 2026 07:36
@asurdej-comcast asurdej-comcast requested review from a team as code owners May 7, 2026 07:36
Copy link
Copy Markdown
Contributor

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

Updates the WPEWebKit 2.38.8 Yocto recipe to apply a downstream WebKit patch that prevents incorrect/overflowing memory pressure footprint calculations in service worker web processes by disabling GPU memory accounting for those processes.

Changes:

  • Bumped the recipe PR from r16 to r17.
  • Added a new patch to SRC_URI for WPEWebKit 2.38.8.
  • Introduced the patch implementing GPU memory accounting disablement for service worker processes and adding an underflow guard in footprint calculation.

Reviewed changes

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

File Description
recipes-extended/wpe-webkit/wpe-webkit_2.38.8.bb Bumps PR and adds the new patch to SRC_URI.
recipes-extended/wpe-webkit/files/2.38.8/1651_Disable_GPU_mem_check_for_service_workers.patch Adds WebKit/WTF changes to disable GPU memory accounting for service worker processes and avoid footprint underflow.

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

Comment on lines 40 to +41
SRC_URI += "file://2.38.8/1626_Video_decoding_limit.patch"
SRC_URI += "file://2.38.8/1651_Disable_GPU_mem_check_for_service_workers.patch"
+ // or footprint and footprintVideo are coming from two different processes
+ // and shouldn't be compared with each other. Both cases are misconfigurations.
+ WTFLogAlways("Video memory footprint (%zu MB) is larger than total memory footprint (%zu MB). "
+ "Check MemoryPressureHandler configuration\n", footprintVideo / MB, footprint / MB);
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.

2 participants