microZEUS
The whole stack, hand-drawn.

◄ Wiki / OS

ring buffer

A fixed-size log that wraps around, overwriting the oldest entries once it fills up.

A ring (circular) buffer is a fixed block of slots where writing past the end wraps back to the start, so it holds only the most recent N entries and never grows. It's ideal for logs where you want recent history at a bounded memory cost. Here fault records go into a ring that also counts how many entries were lost to wrapping, so you know when older data was overwritten.

See also

  • program counter (PC)The CPU register that holds the address of the instruction currently being executed.
  • reaperA background kernel thread that cleans up threads that have finished, freeing their resources.

Referenced by

program counter (PC)