OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Vladimir Riabchun <vladimir.riabchun@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1 v3 2/2] selftests: ve: Test sched_getaffinity in VE
Date: Thu, 12 Nov 2026 19:37:40 +0100	[thread overview]
Message-ID: <179450866044.4060562.4980881054093452332.b4-review@b4> (raw)
In-Reply-To: <20261029-ct-invalid-nrpoc-v3-2-89d4b0b7d520@virtuozzo.com>

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@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

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

  parent reply	other threads:[~2026-11-12 18:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29 10:16 [Devel] [PATCH hci-8.1 v3 0/2] sched: Fix incorrect nproc report inside CT Vladimir Riabchun
2026-10-29 10:16 ` [Devel] [PATCH hci-8.1 v3 1/2] sched: Fix sched_getaffinity syscall Vladimir Riabchun
2026-10-29 10:21   ` no-reply
2026-10-29 10:48     ` Vladimir Riabchun
2026-11-12 18:37   ` Konstantin Khorenko
2026-10-29 10:16 ` [Devel] [PATCH hci-8.1 v3 2/2] selftests: ve: Test sched_getaffinity in VE Vladimir Riabchun
2026-10-29 10:22   ` no-reply
2026-10-29 10:50     ` Vladimir Riabchun
2026-11-12 18:37   ` Konstantin Khorenko [this message]
2026-11-12 18:37 ` [Devel] [PATCH hci-8.1 v3 0/2] sched: Fix incorrect nproc report inside CT Konstantin Khorenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179450866044.4060562.4980881054093452332.b4-review@b4 \
    --to=khorenko@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=vladimir.riabchun@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox