io_uring

Linux 系统调用深度实战:从 int 0x80 到 VDSO 与 io_uring 的 Syscall Entry/Exit 内核实现与 eBPF 追踪

从硬件指令层拆解 Linux 系统调用的完整生命周期:syscall 历史演进(int 0x80→sysenter→syscall)、entry_SYSCALL_64 汇编级的 swapgs/per-cpu/pt_regs 构建安全分析、VDSO 如何让 gettimeofday 绕过 syscall、vDSY vs ASLR 兼容、syscall 分发表、Spectre/Meltdown 对 syscall 延迟的量化影响、sysret 与 iret 返回路径选择、io_uring 用共享环形队列绕过 syscall 的架构、eBPF tracepoint/kprobe/fentry 三种观测方式对比、strace 的 ptrace 代价与替代方案、生产环境减少 syscall 频率的 7 种工程策略、跨架构对比(x86_64/ARM64/RISC-V)。

C++26 std::execution 深度工程实战:从 Sender/Receiver 代数、取消传播到生产级调度器的全链路解析

拆解 C++26 std::execution(P2300)的四大工程要点:三通道完成模型(set_value/set_error/set_stopped)、基于 let_value 与 when_all 的结构化并发、协作式取消与 inplace_stop_token、零堆分配的 operation state;附可落地的 io_uring sender 实现骨架,并给出从回调与 C++20 协程迁移的增量路径与陷阱清单。

Rust 异步运行时内核原理:从 async/await 状态机到 io_uring 全局异步架构

从 Future trait 的 poll 模型到生产级运行时(tokio/async-std/smol)的设计决策,再到 Linux io_uring 与异步生态的融合,深入解析 Rust 异步系统的底层原理与最佳实践。涵盖 async/await 状态机编译原理、Executor/Reactor 架构、Work-Stealing 调度、定时器层级轮、io_uring 内核机制及 monoio 实现。