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

From: Srikar Dronamraju
Date: Fri Feb 26 2021 - 03:59:53 EST


* Athira Rajeev <atrajeev@xxxxxxxxxxxxxxxxxx> [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@xxxxxxxxxxxxxxxxxx>

--
Thanks and Regards
Srikar Dronamraju