int_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the int_map(9) manual page β€” yes, the manual name is literally int_map(9), and we're about to make it make sense ✨

πŸŽ€ int_map πŸŽ€

An int_map is basically a little matchmaking service for kernel data: it associates pointers (void *) with integer keys (u64). Cute, right? But plot twist β€” NULL pointer values are not supported. No cap, don't try it πŸ™ˆ

The map is implemented as a hash table, which should provide constant-time insert, query, and remove operations. Slay πŸ’… The one lil' caveat? The insert may occasionally grow the table, and that operation is linear in the number of entries in the map. Ngl, that's the cost of doing business.

The table will grow as needed to hold new entries, but it will not shrink as entries are removed. It's giving "I'm not shrinking for anyone" energy, and honestly? iconic 🫢


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/md/dm-vdo/int-map.h β€” go read it, iykyk πŸ¦‹

mwah πŸ’‹ this page lives under ./drivers/md/dm-vdo, dated October 2026, and yes bestie, it's the int_map(9) manual page, periodt πŸŽ€

πŸ“¦ where this page comes from