OP-TEE: Shared memory between TAs
summary
OP-TEE adds on-demand shared mapping of ELF read-only code pages so multiple TA instances or libraries reuse the same physical pages, cutting memory use; it uses a file tag (hash) to identify identical binaries, per-page FOP backing stores, context-specific areas and a global PMM pool, and reference counting for lifecycle. It supports both paged and flat (no-MMU) modes, does not implement copy-on-write, and is under review on GitHub.
AI-written summary · about
chapters (6)
- 0:00Introduction to shared memory
- 2:20Paged memory and mapping
- 4:52Data structures and management
- 8:10Page registration and sharing
- 11:25Lifecycle and reference counts
- 15:09Q&A and technical discussion
related talks
11mOP-TEE open-source security for the mass-market
41mOP-TEE - Using TrustZone to Protect Our Own Secrets
40mOP-TEE: When Linux Loses Control
17mEnhancing OP-TEE for RISC-V: Leveraging IOPMP and Enabling RTOS Integration
39mKernel TEE subsystem evolution
22mSupporting TEE on x86 Client Platforms with pKVM
39mHands-on OP-TEE with Andes RISC-V
50mUsing OP-TEE as a Cryptography Engine
