[Devel] [PATCH hci-8.1 v3 2/2] selftests: ve: Test sched_getaffinity in VE

Vladimir Riabchun vladimir.riabchun at virtuozzo.com
Wed Nov 18 22:42:19 MSK 2026



On 11/12/26 19:37, Konstantin Khorenko wrote:
> 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.
> 

Will fix everything in v4, thanks.

-- 
Best regards, Riabchun Vladimir
Linux Kernel Developer, Virtuozzo



More information about the Devel mailing list