diff options
author | Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> | 2017-11-22 22:13:53 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-11-28 14:28:10 -0300 |
commit | 321a7c35c90cc834851ceda18a8ee18f1d032b92 (patch) | |
tree | 2f795f391026d285d2da784827489b2189367656 /lib/rbtree.c | |
parent | bdaab8c4b3db820b0946ed4516bc5ec811e0cc82 (diff) | |
download | linux-321a7c35c90cc834851ceda18a8ee18f1d032b92.tar.gz linux-321a7c35c90cc834851ceda18a8ee18f1d032b92.tar.bz2 linux-321a7c35c90cc834851ceda18a8ee18f1d032b92.zip |
perf bench numa: Fixup discontiguous/sparse numa nodes
Certain systems are designed to have sparse/discontiguous nodes. On
such systems, 'perf bench numa' hangs, shows wrong number of nodes and
shows values for non-existent nodes. Handle this by only taking nodes
that are exposed by kernel to userspace.
Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1edbcd353c009e109e93d78f2f46381930c340fe.1511368645.git.sathnaga@linux.vnet.ibm.com
Signed-off-by: Balamuruhan S <bala24@linux.vnet.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions