Thread (4 messages) flat view 4 messages, 2 authors, 2020-06-09

Re: [PATCH] selftests: powerpc: Fix online CPU selection

From: Kamalesh Babulal <hidden>
Date: 2020-06-08 15:07:47

On 6/8/20 8:12 PM, Sandipan Das wrote:
The size of the cpu set must be large enough for systems
with a very large number of CPUs. Otherwise, tests which
try to determine the first online CPU by calling
sched_getaffinity() will fail. This makes sure that the
size of the allocated cpu set is dependent on the number
of CPUs as reported by get_nprocs().

Fixes: 3752e453f6ba ("selftests/powerpc: Add tests of PMU EBBs")
Reported-by: Shirisha Ganta <redacted>
Signed-off-by: Sandipan Das <redacted>
LGTM,

Reviewed-by: Kamalesh Babulal <redacted>

-- 
Kamalesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help