perf kmem: Make it work again on non NUMA machines