source&pool
A daily wire of long-form journalism, video, and discourse — filed, tagged, and laid out flat.
VOL. I·NO. 01
SATURDAY, OCTOBER 10, 2026
  1. 001Hacker NewsOCT · 08English

    Bit Arrays in the Linux Kernel

    This article explains bit arrays (bitmaps), a data structure used extensively in the Linux kernel for efficiently storing and managing binary states. Bitmaps are arrays of unsigned long values that compactly represent sets of values, with common operations including setting, clearing, and testing bits. The Linux kernel uses bitmaps frequently for memory-efficient state tracking, leveraging hardware-level bit operations for speed.

    By Alexander Kuleshov