Main All Blogs Tag Search Learning Hub About Me
img

Bean Huo

SW/Linux

Bean Huo

Personal Blog

~Welcome~


  • Main
  • All Blogs
  • Tag
  • Search
  • Learning Hub
  • About Me

Hi, I'm Bean. 你好,我是 Bean。

I write about Linux kernel internals, AI-assisted systems analysis, and embedded / SoC adventures. This blog is my personal notebook — slow-burn writing on what I'm curious about.

在这里记录我对 Linux 内核底层、AI 辅助系统分析,以及嵌入式 / SoC 的学习笔记与思考。慢慢写,写自己感兴趣的话题。

Start here · 从这里开始

  • io-uring Linux Next-Generation Asynchronous I/O InterfaceEN

    io_uring is an asynchronous I/O interface introduced in Linux 5.1 (May 2019), designed by Jens Axboe to replace the older aio and POSIX AIO interfaces. This post covers what problems it was built t...

    2025-06-05 · Linux
  • Claude Code tips that have saved me timeEN

    I’ve been using Claude Code (Anthropic’s CLI agent) on a few of my own projects — this blog and some Linux storage tooling — and a small set of customizations have made it noticeably faster to live...

    2025-11-01 · claude, tooling

Topics I write about · 我写些什么

Linux Kernel Internals

Linux 内核底层

Syscalls, VFS, dump_stack, memory, io_uring, eBPF — how the kernel actually works under the hood.

系统调用、VFS、dump_stack、内存管理、io_uring、eBPF——内核底层到底是怎么跑的。

AI-Assisted Systems Analysis

AI 辅助系统分析

Using LLMs and AI tooling to read traces, logs, and complex systems faster.

用 LLM 和 AI 工具更快地读 trace、日志,看懂复杂系统。

Embedded / Bootloader / SoC

嵌入式 / Bootloader / SoC

U-Boot, OP-TEE, Xen on ARM, low-level boot — the messy parts close to the metal.

U-Boot、OP-TEE、ARM 上的 Xen、底层启动——靠近硬件那一层的杂活。

Follow along · 关注更新

No fixed schedule — I post when something interesting comes up. The RSS feed is the canonical way to follow. 没有固定更新频率——遇到有意思的东西就写。订阅 RSS 是最稳的方式。

  • RSS
  • GitHub
  • Twitter
  • Email

Recent posts · 最近的文章

  1. Understanding U-Boot Environment Variables and Boot Arguments

    Understanding U-Boot Environment Variables and Boot ArgumentsU-Boot is a popular bootloader used in embedded systems. Understanding its environment variables and boot arguments is crucial for configuring and booting Linux systems effectively. Here...…

    2019-03-01
    uboot
    阅读全文 »

  2. Xen stetup on hikey960

    Setting Up Xen on HiKey960This tutorial explains how to set up Xen on the HiKey960. It is based on the official Xen wiki tutorial. Since there are several points that can be confusing, I have summarized all the steps I followed.HiKey960 VersionsBe...…

    2019-03-01
    Xen
    阅读全文 »

  3. Understanding Enum Size and Alignment in C

    Understanding -fshort-enums in CWhen working with enumerations (enum) in C, it’s easy to assume they are always 4 bytes, just like int. However, compilers offer optimization flags like -fshort-enums that can reduce memory usage by adjusting enum s...…

    2019-02-08
    C
    阅读全文 »

  4. Shared Memory in Linux Inter-Process Communication

    Shared Memory in Linux Inter-Process Communication (IPC)In Linux, shared memory is an efficient method for inter-process communication (IPC). Through shared memory, multiple processes can access the same memory region directly, enabling fast data ...…

    2019-02-07
    IPC
    阅读全文 »

  5. How to Statically Compile a Python Program into a Binary Executable File

    How to Statically Compile a Python Program into a Binary Executable FileCreating a statically compiled binary for your Python program ensures it can run independently of the target system’s libraries. Here’s a step-by-step guide:1. Install Necessa...…

    2019-02-07
    Python
    阅读全文 »

  6. eMMC timeout management in Linux&Uboot

    eMMC Timeout Management in Linux: An Updated PerspectiveThis blog post provides an updated overview of eMMC (embedded MultiMediaCard) timeout management within the Linux kernel and U-Boot, building upon the foundational concepts previously discuss...…

    2018-11-20
    Linux
    阅读全文 »

  7. Understanding UFS vs NVMe Software Stack Overhead in Linux Systems

    Understanding UFS vs NVMe Software Stack Overhead in Linux SystemsStorage performance has become a critical component in modern computing, especially in embedded systems, smartphones, and laptops. Two major storage technologies—Universal Flash Sto...…

    2018-11-20
    Linux
    阅读全文 »

  8. Linux System Calls: An In-Depth Look

    What are System Calls?System calls (syscalls) are the fundamental interface through which user-space applications interact with the Linux kernel. They are the gateway for processes to request privileged services and resources from the operating sy...…

    2017-02-07
    Syscalls, Linux Kernel, eBPF, Security
    阅读全文 »

  9. Git 邮件工作流完全指南:从补丁提交到自动化通知

    Git 邮件工作流完全指南:从补丁提交到自动化通知前言在现代软件开发中,尽管 GitHub、GitLab 等平台提供了便捷的 Pull Request 工作流,但基于邮件的补丁提交方式仍然是 Linux 内核、Git 本身以及众多成熟开源项目的标准协作模式。这种工作流程虽然学习曲线陡峭,但它提供了无可比拟的灵活性、可追溯性和去中心化特性。本文将深入探讨 Git 邮件工作流的两大核心场景:使用 git send-email 提交补丁,以及通过 Git Hooks 实现自动化通知系统。第一部分...…

    2015-02-22
    Git
    阅读全文 »

  10. Linux VFS架构、数据结构与文件系统注册

    Linux VFS深度解析:架构、数据结构与文件系统注册1. VFS概述Virtual File System(虚拟文件系统,VFS)是Linux内核中的一个软件层,它为用户空间程序提供了统一的文件系统接口。VFS的核心作用是抽象底层文件系统的差异,使得应用程序可以使用相同的系统调用(如open、read、write)来操作不同类型的文件系统(ext4、XFS、Btrfs等)。1.1 VFS的设计思想VFS采用了面向对象的设计思想,虽然Linux内核使用C语言编写,但通过结构体和函数指针实...…

    2014-04-06
    Linux,VFS
    阅读全文 »

  11. Django-message

    messages.success(), messages.error(), and JsonResponse()In Django, there are multiple ways to send feedback or data from the backend to the frontend. This post explains the differences between messages.success(), messages.error(), and JsonResponse...…

    2014-03-08
    Django
    阅读全文 »

  12. Django-MySQL

    How to Enter the MySQL ShellTo enter the MySQL shell (command-line interface), follow these steps:1. Install MySQL Client (if not already installed)If you don’t have the MySQL client installed, install it first:On Ubuntu/Debian:sudo apt updatesudo...…

    2014-03-08
    Django
    阅读全文 »

  13. Linux 设备管理全解析:从 devfs 到 udev/sysfs 的演进

    Linux 设备管理全解析:从 devfs 到 udev/sysfs 的演进引言在 Linux 系统中,设备管理是操作系统的核心功能之一。遵循”一切皆文件”的 Unix 哲学,Linux 将硬件设备抽象为文件,存放在 /dev 目录下供用户进程操作。然而,设备管理机制经历了从静态到动态、从内核空间到用户空间的重大演进。本文将深入探讨 Linux 设备管理的发展历程,重点解析 devfs、tmpfs、devtmpfs、sysfs 和 udev 等关键技术,帮助读者全面理解现代 Linux 系...…

    2014-03-06
    Linux
    阅读全文 »

  14. Heap and Stack, one Minimalist heap Allocator

    📚 Introduction to the Heap💡 What is the Heap?The heap is a region of memory used for dynamic memory allocation — memory that is allocated and freed at runtime rather than at compile time.In C, you access the heap using: malloc() / calloc() / real...…

    2014-02-05
    C
    阅读全文 »


← 最近/Recent 2 / 2

📧 Stay Updated

Get notified when I publish new posts about SW/Linux development.

No spam, unsubscribe at any time.

  • Weibo
  • Github
  • Twitter
  • RSS
  • Email

Views expressed here are my own and do not reflect those of my employer.
本博客观点仅代表个人立场,与所属公司或雇主无关。

Copyright © Bean Huo 2026 Theme by Bean |

总访问量:次 访问人数:人