[LTP] [PATCH v3] getcpu01: Reinstate node_id test

Richard Palethorpe rpalethorpe@suse.de
Thu Dec 15 12:16:26 CET 2022


Hello,

Richard Palethorpe via ltp <ltp@lists.linux.it> writes:

> Presently the node_id is only checked on i386 and it is broken. The
> sched_getcpu call was substituted for getcpu when
> available. sched_getcpu does not have the node_id parameter, it's not
> the same thing as getcpu.
>
> Also we can check the node_id on any platform which has NUMA. Which
> includes more than just x86.
>
> Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
> Cc: Cyril Hrubis <chrubis@suse.cz>

Maybe this is a bit impatient (although v2 was submitted some time ago),
but no response, so merged.


-- 
Thank you,
Richard.


More information about the ltp mailing list