Tag

memory management

1 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 4, 2022 · Operations

Understanding Linux mlock and munlock: Memory Locking and Reclamation Mechanisms on arm64

On arm64 Linux kernels (e.g., 5.10.27), the mlock system call marks VMAs with VM_LOCKED, forces page faults, sets the PG_mlocked flag and moves pages into the unevictable LRU so they cannot be reclaimed, while munlock clears these flags and returns pages to regular LRU lists, guaranteeing resident memory for latency‑sensitive applications.

ARM64KernelLRU
0 likes · 7 min read
Understanding Linux mlock and munlock: Memory Locking and Reclamation Mechanisms on arm64
Tencent Music Tech Team
Tencent Music Tech Team
Nov 13, 2021 · Mobile Development

iOS Page Display and Logic: MVC Design Pattern and ViewController Management

The article explains how iOS uses the MVC pattern and ViewController hierarchy—distinguishing content and container controllers such as UINavigationController—to manage page display, navigation stacks, custom transitions, state restoration, and memory handling, enabling complex multi‑level navigation and functional implementation.

MVCUINavigationControllerViewController
0 likes · 9 min read
iOS Page Display and Logic: MVC Design Pattern and ViewController Management
Xianyu Technology
Xianyu Technology
May 9, 2019 · Mobile Development

Investigation and Resolution of a Ghost Crash in Xianyu's Flutter Infrastructure

After a 2018 Flutter upgrade caused a mysterious “Ghost Crash” in Xianyu’s app, engineers traced an over‑released NSMutableArray in the accessibility bridge, fixed an illegal dealloc call, added proper checks for iOS Speak Screen, and eliminated the crash through a rapid gray‑scale rollout.

AccessibilityDebuggingcrash analysis
0 likes · 13 min read
Investigation and Resolution of a Ghost Crash in Xianyu's Flutter Infrastructure