[PATCH v3] selftests: powerpc: Fix CPU affinity for child process

Michael Ellerman patch-notifications at ellerman.id.au
Sun Aug 2 23:39:08 AEST 2020


On Tue, 9 Jun 2020 13:44:23 +0530, Harish wrote:
> On systems with large number of cpus, test fails trying to set
> affinity by calling sched_setaffinity() with smaller size for
> affinity mask. This patch fixes it by making sure that the size of
> allocated affinity mask is dependent on the number of CPUs as
> reported by get_nprocs().

Applied to powerpc/next.

[1/1] selftests/powerpc: Fix CPU affinity for child process
      https://git.kernel.org/powerpc/c/854eb5022be04f81e318765f089f41a57c8e5d83

cheers


More information about the Linuxppc-dev mailing list