]> git.ipfire.org Git - thirdparty/glibc.git/commit
affinity-inheritance: Overallocate CPU sets
authorStefan Liebler <stli@linux.ibm.com>
Fri, 10 Jan 2025 17:55:50 +0000 (12:55 -0500)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 14 Jan 2025 14:23:36 +0000 (09:23 -0500)
commit09ea1afec75ed0d41cb0da27a9df1b8c3dd56ddc
treee42d71d0038e1417211f7d497f0a69b8316c45c4
parent2ac7701888c9918fcdd8b35adcbcd91d7e1e923f
affinity-inheritance: Overallocate CPU sets

Some kernels on S390 appear to return a CPU affinity mask based on
configured processors rather than the ones online.  Overallocate the CPU
set to match that, but operate only on the ones online.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Co-authored-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
nptl/tst-pthread-affinity-inheritance.c
nptl/tst-skeleton-affinity-inheritance.c
sysdeps/unix/sysv/linux/tst-sched-affinity-inheritance.c