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().
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
context_switch.c | ||
exec_target.c | ||
fork.c | ||
futex_bench.c | ||
gettimeofday.c | ||
Makefile | ||
mmap_bench.c | ||
null_syscall.c | ||
settings |