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

2020-07-29 Thread Sandipan Das
The size of the CPU affinity mask 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 affinity mask is dependent on the number of CPUs

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

2020-08-02 Thread Michael Ellerman
On Thu, 30 Jul 2020 10:38:46 +0530, Sandipan Das wrote: > The size of the CPU affinity mask 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 >