Skip to content

LVBS: Use reference counters for page tables - #1246

Merged
Sangho Lee (sangho2) merged 5 commits into
mainfrom
sanghle/lvbs/arc_pt
Sep 1, 2026
Merged

LVBS: Use reference counters for page tables#1246
Sangho Lee (sangho2) merged 5 commits into
mainfrom
sanghle/lvbs/arc_pt

Conversation

@sangho2

@sangho2 Sangho Lee (sangho2) commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This PR uses Arc reference counters for LVBS/OP-TEE page tables to safely share them across cores. In particular, it makes the page-table lifetime/ownership explicit rather than relies on session-level serialization.

Comment thread litebox_runner_lvbs/src/lib.rs Fixed
@sangho2 Sangho Lee (sangho2) changed the title [DRAFT] LVBS: Use Arc for the PageTable structure [DRAFT] LVBS: Use Arc for page tables Aug 31, 2026
@sangho2 Sangho Lee (sangho2) changed the title [DRAFT] LVBS: Use Arc for page tables [DRAFT] LVBS: Use Arc for shared page tables Aug 31, 2026
@sangho2 Sangho Lee (sangho2) changed the title [DRAFT] LVBS: Use Arc for shared page tables [DRAFT] LVBS: Use Arc for page tables Aug 31, 2026
@sangho2 Sangho Lee (sangho2) changed the title [DRAFT] LVBS: Use Arc for page tables LVBS: Use Arc for page tables Aug 31, 2026
@sangho2
Sangho Lee (sangho2) marked this pull request as ready for review August 31, 2026 20:57
@sangho2
Sangho Lee (sangho2) marked this pull request as draft August 31, 2026 22:41
@sangho2
Sangho Lee (sangho2) marked this pull request as ready for review August 31, 2026 23:05
Comment thread litebox_platform_lvbs/src/lib.rs Outdated
@sangho2 Sangho Lee (sangho2) changed the title LVBS: Use Arc for page tables LVBS: Use reference counters for page tables Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

🤖 SemverChecks 🤖 ⚠️ Potential breaking API changes detected ⚠️

Click for details
--- failure auto_trait_impl_removed: auto trait no longer implemented ---

Description:
A public type has stopped implementing one or more auto traits. This can break downstream code that depends on the traits being implemented.
        ref: https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.50.0/src/lints/auto_trait_impl_removed.ron

Failed in:
  type PerCpuVariables is no longer UnwindSafe, in /home/runner/work/litebox/litebox/litebox_platform_lvbs/src/host/per_cpu_variables.rs:28

@sangho2
Sangho Lee (sangho2) added this pull request to the merge queue Sep 1, 2026
Merged via the queue into main with commit fde3bb4 Sep 1, 2026
14 checks passed
@sangho2
Sangho Lee (sangho2) deleted the sanghle/lvbs/arc_pt branch September 1, 2026 21:33
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