numa_reset_distance(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… numa_reset_distance(9)

okay bestie, welcome to the Kernel API Manual ✨ β€” yes, that's the manual name, we're fancy here. This one's a tiny little icon, a one-function wonder, and honestly? She ate. Let's get into it πŸŽ€


✨ NAME ✨

numa_reset_distance β€” reset the NUMA distance table, periodt πŸ’…

Like, that's the whole vibe. She resets. The table. NUMA distance. Done. 🌸


✨ SYNOPSIS ✨

void numa_reset_distance (void );

ngl that signature is so clean. void in, void out. No drama, no arguments, no nothing β€” she just does the thing πŸ¦‹


✨ ARGUMENTS ✨

  • void β€” literally no arguments. zero. zip. nada. she doesn't want your parameters, she doesn't need your input, she's a main character who works alone πŸ˜­πŸ‘‘

✨ DESCRIPTION ✨

okay so here's the tea β˜• β€” the current table is freed. gone. yeeted. 🫢

And then? The next numa_set_distance call will create a new one. That's it, that's the whole bit. Lowkey iconic how simple it is.

πŸ’€ fr fr, once it's freed it's freed β€” don't go poking at the old table afterwards, bestie, that's not the vibe you want.

✨ SEE ALSO ✨

the whole squad, together again 🫢✨ (all from the kernel file ./mm/numa_memblks.c):

go read them, iykyk πŸ“šπŸ’–


and that's the whole page, bestie! this one came straight out of ./mm and the clock said October 2026 when it was written β€” slay, we love a dated receipt πŸ§šπŸ’œ bye!! πŸŽ€

πŸ“¦ where this page comes from