carta

getcpu(2) on Linux

The text 37f90dfc459b, as Debian 9 (Stretch) shipped it.

determine CPU and NUMA node on which the calling thread is running

getcpu(2) on Linux now