Tag

ARM64

1 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 6, 2024 · Fundamentals

Developing a Bare-Metal OS for ARM64 Architecture

This guide walks developers with C and assembly experience through building a simple bare‑metal operating system that runs directly on ARM64 hardware without any existing OS or bootloader, offering a hands‑on introduction to low‑level system concepts for students, embedded engineers, and computer‑system enthusiasts.

ARM architectureARM64Bare-metal
0 likes · 9 min read
Developing a Bare-Metal OS for ARM64 Architecture
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 5, 2024 · Fundamentals

Read‑Write Semaphore (rw_semaphore) and Per‑CPU rwsem in the Linux Kernel (ARM64)

The article explains Linux kernel read‑write semaphores, detailing the classic rw_semaphore’s optimistic‑spinning and hand‑off mechanisms, then introduces the per‑CPU rwsem for ARM64, which replaces global counters with per‑CPU data and an RCU fast‑path to cut cache‑coherency traffic at the cost of losing optimistic spinning.

ARM64Linux kerneloptimistic spinning
0 likes · 12 min read
Read‑Write Semaphore (rw_semaphore) and Per‑CPU rwsem in the Linux Kernel (ARM64)
Deepin Linux
Deepin Linux
Oct 21, 2023 · Fundamentals

Step-by-Step Guide to Building and Debugging an ARM64 Linux Kernel with QEMU

This tutorial details how to set up a cross‑compilation toolchain on Ubuntu 20.04, install QEMU, build a BusyBox‑based root filesystem, compile and configure the ARM64 Linux kernel, create a simulated disk, share files between host and guest, and perform kernel debugging using GDB and Eclipse.

ARM64Kernelcross compilation
0 likes · 15 min read
Step-by-Step Guide to Building and Debugging an ARM64 Linux Kernel with QEMU
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 22, 2023 · Fundamentals

18th China Linux Kernel Developer Conference (CLK 2023) Call for Papers

The 18th China Linux Kernel Developer Conference (CLK 2023) will be held in Shenzhen on October 28, 2023, hosted by OPPO, and invites Linux kernel developers to submit technical papers (open call from September 22, deadline October 10) on topics such as architecture, scheduling, memory, storage, networking, virtualization, performance, testing and kernel use in IoT, mobile, automotive, cloud and AI, with required author bio, title and abstract.

ARM64CLK 2023Conference
0 likes · 4 min read
18th China Linux Kernel Developer Conference (CLK 2023) Call for Papers
ByteDance SYS Tech
ByteDance SYS Tech
Jan 13, 2023 · Fundamentals

How HVO Cuts HugeTLB Memory Overhead by Up to 99% in Linux Kernels

This article, based on ByteDance STE’s 2022 Linux Kernel Developer Conference talk, explains the HVO (HugeTLB vmemmap Optimization) feature that dramatically reduces struct page memory for huge pages, details its latest enhancements, cross‑architecture support, usage steps, performance trade‑offs, and future plans.

ARM64HVOHugeTLB
0 likes · 13 min read
How HVO Cuts HugeTLB Memory Overhead by Up to 99% in Linux Kernels
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 5, 2022 · Operations

Understanding Linux ftrace Function Graph Tracer on ARM64

The article details how Linux’s function‑graph ftrace tracer works on ARM64, explaining required kernel configs, how -pg inserts _mcount calls, the runtime patching of ftrace_graph_caller, register usage for argument passing, and return handling, and why shadow‑call‑stack must be disabled to enable precise call‑graph and timing analysis.

ARM64Kernel Tracingftrace
0 likes · 10 min read
Understanding Linux ftrace Function Graph Tracer on ARM64
Laravel Tech Community
Laravel Tech Community
Aug 2, 2022 · Fundamentals

Linus Torvalds Releases Linux 5.19, First ARM64 Release on Apple M2 via Asahi Linux

Linus Torvalds announced the stable Linux 5.19 kernel, built on an Apple M2‑based ARM64 MacBook with Asahi Linux support, highlighting new features such as LoongArch support, FAT32 timestamps, AMD BRS sampling, RISC‑V 32‑bit compatibility, Zstd firmware compression, and a substantial increase in graphics driver code.

ARM64Kernelapple-m2
0 likes · 3 min read
Linus Torvalds Releases Linux 5.19, First ARM64 Release on Apple M2 via Asahi Linux
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
Laravel Tech Community
Laravel Tech Community
Feb 20, 2022 · Backend Development

Highlights of .NET 7 Preview 1: Nullable Annotations, Observability, Code Generation, and New APIs

The article outlines the major features of .NET 7 Preview 1, including nullable annotations for Microsoft.Extensions libraries, enhancements to tracing APIs, code‑generation improvements, dynamic PGO and Arm64 support, p/invoke source generation, new System.Text.Json APIs, and expanded hot‑reload capabilities.

.NETARM64Nullable Annotations
0 likes · 5 min read
Highlights of .NET 7 Preview 1: Nullable Annotations, Observability, Code Generation, and New APIs
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 24, 2021 · Fundamentals

Overview of KVM and ARM64 Virtualization: Architecture, CPU, Memory, and I/O Virtualization

KVM turns the Linux kernel into a hypervisor that, together with QEMU, provides hardware‑assisted CPU and memory virtualization on ARM64 platforms, using EL2‑based Stage‑2 address translation, while offering multiple I/O virtualization methods such as emulation, virtio, device passthrough, and shared assignment for flexible guest performance and isolation.

ARM64KVMLinux kernel
0 likes · 9 min read
Overview of KVM and ARM64 Virtualization: Architecture, CPU, Memory, and I/O Virtualization
Tencent Music Tech Team
Tencent Music Tech Team
Feb 4, 2021 · Mobile Development

Adapting the QQ Music/Karaoke Android App to Arm64 Architecture

The QQ Music/Karaoke team migrated their Android app from 32‑bit to Arm64‑v8a by reconfiguring Gradle builds, recompiling or replacing over 120 native libraries, extending the dynamic‑resource loader for ABI selection, implementing ABI‑aware update channels, and fixing issues such as library path limits, I/O reliability, camera latency, and WebView cache corruption, completing the transition in early 2021.

ARM64AndroidBuild Configuration
0 likes · 27 min read
Adapting the QQ Music/Karaoke Android App to Arm64 Architecture
Sohu Tech Products
Sohu Tech Products
Nov 11, 2020 · Information Security

Using Inline ARM64 Assembly in iOS for Debug Detection and Security Hardening

This article explains how to write and integrate ARM64 inline assembly in iOS applications to implement anti‑debugging checks, discusses the syntax, constraints, calling conventions, common pitfalls, and provides complete assembly‑only solutions for secure runtime detection.

ARM64anti-debuggingiOS
0 likes · 18 min read
Using Inline ARM64 Assembly in iOS for Debug Detection and Security Hardening
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 12, 2020 · Fundamentals

Linux Kernel Virtual Memory Management: Process Virtual Address Space and Allocation

The article explains Linux kernel virtual memory management on 64‑bit ARM64 Android systems, detailing user‑ and kernel‑space address layout, physical vs. linear addresses, allocation mechanisms such as brk and mmap, common allocators, key structures like mm_struct and vm_area_struct, and the functions that control mmap layout and unmapped‑area selection.

ARM64ASLRKernel Internals
0 likes · 20 min read
Linux Kernel Virtual Memory Management: Process Virtual Address Space and Allocation