RDKB-64189: Enable ZRAM to optimize and reduce RDKB memory usage#29
Merged
RDKB-64189: Enable ZRAM to optimize and reduce RDKB memory usage#29
Conversation
614eca0 to
0a0e456
Compare
There was a problem hiding this comment.
Pull request overview
Adds a Broadband-specific ZRAM initialization script intended to support the MEMSWAP RFC by configuring a single zram swap device and tuning VM swap-related sysctls.
Changes:
- Introduces
init-zram_broadband.shto gate ZRAM setup on the MEMSWAP RFC enable flag. - Configures zram disksize and VM tunables (swappiness, watermark scale factor, page cluster) from RFC parameters.
- Enables swap on
/dev/zram0.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
apattu200
reviewed
Apr 20, 2026
apattu200
reviewed
Apr 20, 2026
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cfb8c64 to
f615934
Compare
f615934 to
6baebea
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
apattu200
approved these changes
May 6, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The following changes are part of a larger effort to enable a ZRAM SWAP partition for Broadband devices. The objects to support the RFC are as follows:
init-zram_broadband.shto suit the requirements of theMEMSWAPRFC for Broadband devices