[PATCH] perf bench numa: Fix the condition checks for max number of numa nodes

Srikar Dronamraju srikar at linux.vnet.ibm.com
Fri Feb 26 19:58:27 AEDT 2021


* Athira Rajeev <atrajeev at linux.vnet.ibm.com> [2021-02-25 11:50:02]:

> In systems having higher node numbers available like node
> 255, perf numa bench will fail with SIGABORT.
> 
> <<>>
> perf: bench/numa.c:1416: init: Assertion `!(g->p.nr_nodes > 64 || g->p.nr_nodes < 0)' failed.
> Aborted (core dumped)
> <<>>
> 

Looks good to me.

Reviewed-by: Srikar Dronamraju <srikar at linux.vnet.ibm.com>

-- 
Thanks and Regards
Srikar Dronamraju


More information about the Linuxppc-dev mailing list