Skip to main content

Module allocator

Module allocator 

Source
Expand description

Page allocator for the CoW B+ tree.

Uses a two-phase pending-free model:

  • New pages are allocated from ready_to_use (reclaimed) or high water mark
  • Freed pages go into freed_this_txn (not reusable until committed + no older readers)
  • On-disk pending-free chain persistence happens during commit

Structsยง

PageAllocator
In-memory page allocator state.