All posts

ebpf

2 posts
EBPF

eBPF Maps: The Data Structures That Power Kernel Programs

eBPF programs are stateless — maps are how they remember. A walk through the five map types that cover most real programs: hash, array, per-CPU, ring buffer, and LRU, with concrete code for each.