xa_delete_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay so bestie, welcome to the Kernel API Manual page for xa_delete_node(9). The NAME is short and iconic: it’s a private interface for workingset code β€” literally private-interface energy, iykyk. πŸ’…βœ¨

✨ SYNOPSIS ✨

Here’s the signature exactly, no cap:

void xa_delete_node (struct xa_node *node , xa_update_node_t update );

πŸŽ€ ARGUMENTS πŸŽ€

  • node β€” the node to be removed from the tree. It’s the main character getting yeeted out of the tree πŸŒ³πŸ‘‹
  • update β€” the function to call to update ancestor nodes. You hand over the callback, it updates the ancestors, periodt 🫢

πŸ’œ CONTEXT πŸ’œ

vibe check, and this one matters:

bestie, xa_lock must be held on entry and will not be released. So hold it before you call, and don’t expect this function to drop it for you β€” no cap. πŸ”’πŸ˜­

🌈 SEE ALSO 🌈

Kernel file: ./lib/xarray.c. Here’s the whole squad of references, all of them, because we do not skip refs in this house 🫢:


okay that’s the whole page, bestie. Source/version: ./lib. Date: October 2026. Page: xa_delete_node(9). Mwah, go slay with that lock held πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from