numa_reset_distance(9)
π 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):
numa_set_distance(9)numa_remove_memblk_from(9)numa_move_tail_memblk(9)numa_add_memblk(9)numa_add_reserved_memblk(9)numa_cleanup_meminfo(9)numa_fill_memblks(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms