All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Vladimir Riabchun <vladimir.riabchun@virtuozzo.com>
Cc: devel@openvz.org, Sashiko <no-reply@sashiko.virtuozzo.com>
Subject: Re: [Devel] [PATCH hci-8.1 v5 0/2] sched: Fix incorrect nproc report inside CT
Date: Thu, 19 Nov 2026 18:32:30 +0100	[thread overview]
Message-ID: <179510955059.321524.3694930352329997908.b4-review@b4> (raw)
In-Reply-To: <20261119-ct-invalid-nrpoc-v5-0-ff22216f458b@virtuozzo.com>

I won't apply this version, please send v6 on top of hci-8.2 with the
changes below.

1. Base v6 on hci-8.2 (branch-rh10-6.12.0-211.75.1.26.x.vz10-ovz), not
   on hci-8.1: the series goes to hci-8.2. v5 does not apply there,
   patch 2 conflicts in the selftests/ve Makefile and .gitignore lists.
   With those resolved it still does not build: 26182b5f9943c
   ("selftests/ve: open the host cgroup2 mount instead of creating
   one") replaced mount_cg2_fd() with open_cg2_fd().
2. Patch 1 message: say that the vCPU limit is the one of the target
   task, task_nr_cpus(p). This part of v3 item 2 is still missing.
3. Patch 2: drop the unused includes Sashiko listed: asm/unistd.h,
   linux/sched.h, sys/syscall.h, sys/stat.h and stdlib.h.
4. Cover letter: v3 item 6 is still open. The old code did use
   num_online_vcpus(), the bug was the rounding; "64 no matter what"
   holds up to 64 vCPUs only; fix the typos "nonsence", "insted" and
   "mesage"; name the gnulib function instead of linking a line of
   master.

The other v3 items are done, thanks. The Fixes tag on 17e30fe0e094 is
right for this branch.

On Thu, 19 Nov 2026 10:54:01 +0100, Vladimir Riabchun wrote:
> It appears that this syscall returned complete nonsence when
> called from VE - we ignored both num_online_vcpus and

Item 4: the cover letter text is the same as in v3.

Sashiko's other two remarks on v5 2/2 need no change. The CT cgroup is
left behind only when prepare_namespaces() fails in the setup, as in
ve_mount_accounting_test.c. Under "taskset -c 0,1" the test passes:
cpuset_attach() keeps a task's mask when the old and the new cgroup
have the same effective CPUs; it would fail only in a cgroup with a
narrower cpuset.

-- 
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-19 17:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19  9:54 Vladimir Riabchun
2026-11-19  9:54 ` [Devel] [PATCH hci-8.1 v5 1/2] sched: Fix sched_getaffinity syscall Vladimir Riabchun
2026-11-19 17:32   ` Konstantin Khorenko
2026-11-19  9:54 ` [Devel] [PATCH hci-8.1 v5 2/2] selftests: ve: Test sched_getaffinity in VE Vladimir Riabchun
2026-11-19 10:01   ` no-reply
2026-11-19 17:32   ` Konstantin Khorenko
2026-11-19 17:32 ` Konstantin Khorenko [this message]

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=179510955059.321524.3694930352329997908.b4-review@b4 \
    --to=khorenko@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=no-reply@sashiko.virtuozzo.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.