Skip to content

RDKEMW-15176: increase swap limit#418

Open
goruklu wants to merge 2 commits intordkcentral:release/v3.16from
goruklu:RDKEMW-15176-increase-swap-limit
Open

RDKEMW-15176: increase swap limit#418
goruklu wants to merge 2 commits intordkcentral:release/v3.16from
goruklu:RDKEMW-15176-increase-swap-limit

Conversation

@goruklu
Copy link
Contributor

@goruklu goruklu commented Mar 9, 2026

Description

What does this PR change/fix and why?

If there is a corresponding JIRA ticket, please ensure it is in the title of the PR.

Test Procedure

How to test this PR (if applicable)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (doesn't fit into the above categories - e.g. documentation updates)

Requires Bitbake Recipe changes?

  • The base Bitbake recipe (meta-rdk-ext/recipes-containers/dobby/dobby.bb) must be modified to support the changes in this PR (beyond updating SRC_REV)

Copilot AI review requested due to automatic review settings March 9, 2026 20:25
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

Updates Dobby’s generated OCI config to allow a higher swap limit than the RAM limit by introducing a dedicated swap-limit template variable.

Changes:

  • Replace "swap": {{MEM_LIMIT}} with "swap": {{MEM_SWAP_LIMIT}} in both OCI JSON templates.
  • Add MEM_SWAP_LIMIT to the spec dictionary and compute it as memLimit + 200MB during memLimit processing.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
bundle/lib/source/templates/OciConfigJsonVM1.0.2-dobby.template Use MEM_SWAP_LIMIT placeholder for the OCI memory swap field.
bundle/lib/source/templates/OciConfigJson1.0.2-dobby.template Use MEM_SWAP_LIMIT placeholder for the OCI memory swap field.
bundle/lib/source/DobbySpecConfig.cpp Define MEM_SWAP_LIMIT and populate it as memLimit + 200MB in the template dictionary.

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

@goruklu goruklu changed the title Rdkemw 15176 increase swap limit RDKEMW-15176: increase swap limit Mar 9, 2026
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