OPPO Kernel Craftsman
Author

OPPO Kernel Craftsman

Sharing Linux kernel-related cutting-edge technology, technical articles, technical news, and curated tutorials

237
Articles
0
Likes
691
Views
0
Comments
Recent Articles

Latest from OPPO Kernel Craftsman

100 recent articles max
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 24, 2023 · Fundamentals

An Overview of Kernel Concurrency Sanitizer (KCSAN): Principles, Configuration, and Testing

Kernel Concurrency Sanitizer (KCSAN) is a low‑overhead dynamic data‑race detector for the Linux kernel that uses compile‑time instrumentation and sampled observation points to identify LKMM‑defined races, supports all atomic operations, integrates with KUNIT for testing, and has been proven effective in fixing real‑world kernel race bugs.

Data Race DetectionKCSANKUNIT
0 likes · 10 min read
An Overview of Kernel Concurrency Sanitizer (KCSAN): Principles, Configuration, and Testing
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 10, 2023 · Mobile Development

Android Display System: From App to Screen

The article walks through Android’s display pipeline—from an app’s frame rendering through SurfaceFlinger, the Hardware Composer, and final screen output—showing how each stage appears in systrace and giving readers a macro‑level view of the data flow in Android S’s graphics system.

AndroidDisplay SystemSurfaceFlinger
0 likes · 8 min read
Android Display System: From App to Screen
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 3, 2023 · Fundamentals

Analysis of Armv9 Microarchitectures: A710, A715, and A510

The article examines Armv9’s A710, A715, and A510 cores, detailing their microarchitectural tweaks—branch predictor expansion, dispatch width changes, SVE2 support, and 64‑bit‑only design—while highlighting modest performance and energy gains, code‑compatibility shifts, and evolving core‑count configurations in modern Snapdragon and MediaTek SoCs.

Armv9Performanceenergy efficiency
0 likes · 21 min read
Analysis of Armv9 Microarchitectures: A710, A715, and A510
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 20, 2023 · Operations

Inside Android’s traced_perf: Architecture, IPC, and Unwinding Explained

This article provides an in‑depth technical walkthrough of Android’s traced_perf component, covering its code layout, integration with Perfetto, IPC mechanisms, perf_event handling, sample acquisition, stack unwinding, and trace writing, while illustrating each step with diagrams and reference links.

Android profilingIPCLinux performance
0 likes · 21 min read
Inside Android’s traced_perf: Architecture, IPC, and Unwinding Explained
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 6, 2023 · Fundamentals

CFS Group Scheduling: Purpose, Configuration, and Kernel Implementation Details

The article explains why Linux’s Completely Fair Scheduler introduced group scheduling, how Android configures task groups via cpu.shares and Process.java, and details the kernel structures (task_group, sched_entity, cfs_rq) and algorithms for weight calculation, load measurement, propagation, and hierarchical load balancing.

CFS schedulingLinux kernelLoad Balancing
0 likes · 28 min read
CFS Group Scheduling: Purpose, Configuration, and Kernel Implementation Details
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 23, 2022 · Mobile Development

Android Power Management: Power States, WakeLock, and Suspend/Resume Mechanisms

The article explains Android’s power management architecture, detailing kernel power states, CPU and device idle modes, the multi‑layer framework, WakeLock types and flags, and the early‑suspend/late‑resume mechanisms, while providing commands and examples for monitoring and controlling device sleep behavior.

AndroidDoze ModeIdle State
0 likes · 11 min read
Android Power Management: Power States, WakeLock, and Suspend/Resume Mechanisms
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 16, 2022 · Information Security

Analysis of OP-TEE SFS Secure Storage Implementation (OPTEE 3.18)

The article examines OP‑TEE 3.18’s SFS secure storage, detailing its GP API, kernel file‑system module, REE daemon interactions, file format with header, hash‑tree nodes, key hierarchy (SSK, TSK, FEK), and encryption using AES‑GCM, and highlights the single‑point‑of‑failure risk of the dirf.db directory.

OP-TEESFSSecure Storage
0 likes · 13 min read
Analysis of OP-TEE SFS Secure Storage Implementation (OPTEE 3.18)