Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-01-14 | affinity-inheritance: Overallocate CPU sets | Stefan Liebler | 1 | -3/+4 | |
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> | |||||
2025-01-09 | tests: Verify inheritance of cpu affinity | Siddhesh Poyarekar | 1 | -0/+71 | |
Add a couple of tests to verify that CPU affinity set using sched_setaffinity and pthread_setaffinity_np are inherited by a child process and child thread. Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |