[PATCH 0/2] Fixup for discontiguous/sparse numa nodes

2017-08-10 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2

[PATCH 2/2] perf/bench/numa: Handle discontiguous/sparse numa nodes

2017-08-10 Thread sathnaga
From: Satheesh Rajendran 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

[PATCH 1/2] perf/bench/numa: Add functions to detect sparse numa nodes

2017-08-10 Thread sathnaga
From: Satheesh Rajendran Added functions 1) to get a count of all nodes that are exposed to userspace. These nodes could be memoryless cpu nodes or cpuless memory nodes, 2) to check given node is present and 3) to check given node has cpus This information can be

[PATCH v2 0/2] Fixup for discontiguous/sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2

[PATCH v2 1/2] perf/bench/numa: Add functions to detect sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran Added functions 1) to get a count of all nodes that are exposed to userspace. These nodes could be memoryless cpu nodes or cpuless memory nodes, 2) to check given node is present and 3) to check given node has cpus This information can be

[PATCH v2 2/2] perf/bench/numa: Handle discontiguous/sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran 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

[PATCH v3 2/2] perf/bench/numa: Handle discontiguous/sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran 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

[PATCH v3 0/2] Fixup for discontiguous/sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2

[PATCH v3 1/2] perf/bench/numa: Add functions to detect sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran Added functions 1) to get a count of all nodes that are exposed to userspace. These nodes could be memoryless cpu nodes or cpuless memory nodes, 2) to check given node is present and 3) to check given node has cpus This information can be

[PATCH v4 1/1] perf/bench/numa: Fixup discontiguous/sparse numa nodes

2017-11-21 Thread sathnaga
From: Satheesh Rajendran 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

[PATCH v4 0/1] Fixup for discontiguous/sparse numa nodes

2017-11-21 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2

[PATCH v5 1/1] perf/bench/numa: Fixup discontiguous/sparse numa nodes

2017-11-22 Thread sathnaga
From: Satheesh Rajendran 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

[PATCH v5 0/1] Fixup for discontiguous/sparse numa nodes

2017-11-22 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2

[PATCH v2 0/2] Fixup for discontiguous/sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2 nodes (0,8) node 0 cpus: 0 1 2 3

[PATCH v2 1/2] perf/bench/numa: Add functions to detect sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran Added functions 1) to get a count of all nodes that are exposed to userspace. These nodes could be memoryless cpu nodes or cpuless memory nodes, 2) to check given node is present and 3) to check given node has cpus This information can be used to handle

[PATCH v2 2/2] perf/bench/numa: Handle discontiguous/sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran 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. Reviewed-by: Arnaldo

[PATCH v3 0/2] Fixup for discontiguous/sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2 nodes (0,8) node 0 cpus: 0 1 2 3

[PATCH v3 1/2] perf/bench/numa: Add functions to detect sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran Added functions 1) to get a count of all nodes that are exposed to userspace. These nodes could be memoryless cpu nodes or cpuless memory nodes, 2) to check given node is present and 3) to check given node has cpus This information can be used to handle

[PATCH v3 2/2] perf/bench/numa: Handle discontiguous/sparse numa nodes

2017-08-21 Thread sathnaga
From: Satheesh Rajendran 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. Cc: Arnaldo Carvalho

[PATCH 0/2] Fixup for discontiguous/sparse numa nodes

2017-08-10 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2 nodes (0,8) node 0 cpus: 0 1 2 3

[PATCH 2/2] perf/bench/numa: Handle discontiguous/sparse numa nodes

2017-08-10 Thread sathnaga
From: Satheesh Rajendran 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. Reviewed-by: Srikar

[PATCH 1/2] perf/bench/numa: Add functions to detect sparse numa nodes

2017-08-10 Thread sathnaga
From: Satheesh Rajendran Added functions 1) to get a count of all nodes that are exposed to userspace. These nodes could be memoryless cpu nodes or cpuless memory nodes, 2) to check given node is present and 3) to check given node has cpus This information can be used to handle

[PATCH v4 0/1] Fixup for discontiguous/sparse numa nodes

2017-11-21 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2 nodes (0,8) node 0 cpus: 0 1 2 3

[PATCH v4 1/1] perf/bench/numa: Fixup discontiguous/sparse numa nodes

2017-11-21 Thread sathnaga
From: Satheesh Rajendran 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. Cc: Arnaldo Carvalho

[PATCH v5 0/1] Fixup for discontiguous/sparse numa nodes

2017-11-22 Thread sathnaga
From: Satheesh Rajendran Certain systems would have sparse/discontinguous numa nodes. perf bench numa doesnt work well on such nodes. 1. It shows wrong values. 2. It can hang. 3. It can show redundant information for non-existant nodes. #numactl -H available: 2 nodes (0,8) node 0 cpus: 0 1 2 3

[PATCH v5 1/1] perf/bench/numa: Fixup discontiguous/sparse numa nodes

2017-11-22 Thread sathnaga
From: Satheesh Rajendran 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. Cc: Arnaldo Carvalho

[PATCH V2] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param

2020-09-21 Thread sathnaga
From: Satheesh Rajendran Add document entry for kvm_cma_resv_ratio kernel param which is used to alter the KVM contiguous memory allocation percentage for hash pagetable allocation used by hash mode PowerPC KVM guests. Cc: linux-kernel@vger.kernel.org Cc: kvm-...@vger.kernel.org Cc:

[PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param

2020-09-16 Thread sathnaga
From: Satheesh Rajendran Add document entry for kvm_cma_resv_ratio kernel param which is used to alter the KVM contiguous memory allocation percentage for hash pagetable allocation used by hash mode PowerPC KVM guests. Cc: linux-kernel@vger.kernel.org Cc: kvm-...@vger.kernel.org Cc: