[Devel] [PATCH hci-8.1 v3 2/2] selftests: ve: Test sched_getaffinity in VE
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Nov 12 21:37:40 MSK 2026
I won't apply this version, please send v4 with the changes below.
On Thu, 29 Oct 2026 11:16:07 +0100, Vladimir Riabchun <vladimir.riabchun at virtuozzo.com> wrote:
> + for (i = 0; i < sizeof(*mask); i++) {
Item 4 of the cover letter reply: loop to CPU_SETSIZE.
Why: sizeof(*mask) is 128 bytes, CPU_ISSET() takes a CPU number up
to 1024. It is a one-token fix, and a test on a host with CPUs above
127 should not fail for a reason unrelated to what it checks.
> +#include <string.h>
Item 5: include <sys/mman.h> for mmap(), as promised in the v2 reply.
It builds today only because kselftest_harness.h pulls it in.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list